CS371p Spring 2021 (Week 11)

Bruno Fazzani
2 min readApr 12, 2021

What did you do this past week?

Not really too remarkable week, just working on homework and assignments for classes. I’ve started the onboarding process for my summer internship, so that’s something new and exciting I suppose.

What‘s in your way?

My motivation for classes is truly starting to waver and the end of the semester is so close and in sight. Thankfully not many classes have final exams this semester.

What will you do next week?

I still need to finish the Darwin project, so I’ll need to do that. Also I have a probability exam this weekend, so I need to study/re-watch lectures to prepare for that.

If you read it, what did you think of the Why getter and setter methods are evil?

I really liked it because for most of my programming “career” getters and setters have been treated as a given for interacting with data inside of classes and objects. I guess that now it is time to graduate to a higher level of understanding where we use object oriented programming to properly group data and the functions which act on that data, as that was the thing I gained the most from this paper: that you don’t need getters and setters if you can process the data in the same place where it is stored.

What was your experience of vector, move constructor, move assignment, and allocator?

I really liked the past few weeks of building up vector from scratch, it was very insightful into the inner workings of probably the most useful STL container, and what needs to go into developing a class to be very versatile and robust for outside users.

The move constructor and assignment felt very novel, I don’t think I’ve seen anything like it before, and I thought it was a cool idea to optimize out of making some extra copies. especially the r-value references was very new to me.

What made you happy this week?

I ate at “Bufalina Due” this week. Very good Neapolitan pizza, would highly recommend it, I had a Margherita pizza and it was top tier.

What’s your pick-of-the-week or tip-of-the-week?

https://learnxinyminutes.com/. This website is a really good, quick cheat sheet that I have found is most useful for quickly looking up small tidbits of syntax in languages I’m not very familiar with.

--

--