CS371p Spring 2021 Week 11

Varad Thorat
2 min readApr 11, 2021

What did you do this past week?

I took a midterm for my Algorithms class. I also worked on the Darwin project with my partner.

What’s in your way?

There are a few things in my way. I do have a lot of deadlines for projects and assignments this week. Trying to manage everything that I need to do is troublesome, so I really need to plan out my schedule for this week.

What will you do next week?

Next week, I will finish and submit the Darwin project with my partner. I will be reviewing some of the previous lectures as well. I will also be trying to complete the various projects and assignments that I have in my other classes.

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

I did read this paper. I was surprised because I have used getter and setter methods for a lot of my previous projects. I never really considered how problematic using these methods were. In the projects that I have worked on, I didn’t encounter the issue where I had to change large parts of my code due to small issue with getters and setters. In the paper, this was one of the biggest issues with accessors. In the future, when I am working on large-scale projects at my job, these issues will most likely be more prevalent. In the future, I will try my best to lower the amount of getter and setter methods that I have in order to make my code more maintainable.

What was your experience of vector, move constructor, move assignment, and allocator? (this question will vary, week to week)

I haven’t explicitly used the c++ allocator in previous projects. It was interesting to see how to use it in the context of vectors. The move constructor and assignment are more tools that can be used when programming. I never needed to explicitly think about using these, but I may consider utilizing it in future projects.

What made you happy this week?

I came back to Austin, and I was able to meet some of my friends in person. I haven’t seen them in about a year, so it was really nice. I hanged out and went to food trucks with them.

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

My tip of the week is w3schools.com. This is a website with information about multiple different programming languages. If you are interested in learning a new language, this is a good place to get started.

--

--