CS 371P Spring 2021: Entry 8

Deepthi Pittala
OOP Blogs
Published in
3 min readApr 11, 2021

--

What did you do this past week?

This past week I didn’t do that much (again). I recently started looking at the Darwin project and made a little headway on it. I did a lot of cooking this week; in fact I made ratatouille with a few of my friends for the first time and it turned out surprisingly better than I expected.

What’s in your way?

I have quite a few lectures to catch up on in my Cloud Computing class that I feel I need to watch before I can start on my assignment.

What will you do next week?

Next week I will finish the Darwin project on Monday and Tuesday and then get started on my Cloud Computing assignment about Kubernetes which is due Thursday. I also have some onboarding things I need to complete for my full-time job in August.

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

This was one of the more interesting articles in my opinion, probably mostly because it felt more relevant, slightly different in topic/idea from the rest of the recent articles we’ve been reading, and more modern in the sense that it didn’t sound like it was written in the ’80s. I was surprised to see that getter and setter methods were bad style because we used them a decent amount in our CS 314 Data Structures class. However after reading the article, I now have a better understanding of why and will keep these design considerations in mind the next time I think of using them.

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

The lecture material from this week was a little confusing to me. I like that we’ve been building off of vector this entire time so that all the concepts make sense together. The move constructor and move assignment topics were a little confusing to me, but after reviewing them again with other resources (see last question) they made more sense. The lecture on allocator was interesting and intuitive for me. I liked how we built on the implementation approach step by step so as to make the code cleaner and more effective each time while maintaining optimal functionality.

What made you happy this week?

A couple days ago I went to a roller-skating rink for the first time. At first it was really hard to balance but once I got the hang of it I started to have a lot of fun. Hopefully I get to go back again soon :).

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

I had a little trouble understanding the move constructor and move assignment topics this week (as I mentioned earlier), but after reading this article (https://www.educative.io/edpresso/what-is-a-move-constructor-in-cpp) it made a lot more sense. If you also struggled with that or just want a different perspective, give that article a read!

--

--