CS371p Spring 2022: Lilia Li Blog #8

Lilia Li
2 min readMar 11, 2022
  1. What did you do this past week?

I didn’t do have much to do this week because I had most of my exams and projects due last week, so this was a relatively chill week for me! I just finished up some projects for other classes and did work for an org that I am an officer for.

2. What’s in your way?

Right now nothing is in my way.

3. What will you do next week?

Next week I will begin looking into and working on the Allocator project, since that will be due once we get back from Spring Break.

4. What did you think of Paper #8: Interface Segregation Principle?

I thought it was an interesting read and something that I feel that I should keep in mind more often since I tend to make the classes that I write pretty “fat”. I think it goes hand in hand with Single Responsibility Principle since we want to ensure that interfaces only have one responsibility and that we don’t cause unrelated functionalities to become so intertwined that they begin to affect each other.

5. What was your experience of std::array, iterators, and equal? (this question will vary, week to week)

This past week I felt that the material was a little bit more difficult for me to grasp. I began to get a lot of the functionality between standard built in arrays and the imported array confused. I also struggle a bit with the exercise from Wednesday, so I’ll probably rewatch the lectures to make sure I have a firm grasp on these topics.

6. What made you happy this week?

I’m excited to go on a trip to New York this weekend! I’m excited to eat good food and explore New York.

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

My pick of the week is using the Refactoring extension on VS Code. It allows for a lot of convenient functionality like whenever you rename a file it can rename the classes defined in the file and all the references to that class as well.