CS371g Spring 2022: Sang Pham

1. What did you do this past week?

This past week has been chilled to me since all the projects I got were due last week. For this class, I feel pretty bad for not passing the exercise problem this week because we did come across the solution but couldn’t wrap our heads around it.

2. What’s in your way?

As of right now, I don’t think I got anything to worry about or change in the next week. If anything, I will try to not stay awake too late because it did affect my normal schedule.

3. What will you do next week?

For the Spring break, I probably priority on finishing project #3 first. After that, I probably go travel with friends and family. I also make a plan to lose some weight with my friend by saying no to alcohol and maximizing volleyball.

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

The general idea of the principle makes sense to me and I think it goes really well with the past 3 principles. Even though the example is pretty lengthy and confusing, I think it is a good paper for Object-Oriented Programming.

5. What was your experience of std::array, iterators, and equal?

For std::array, I understand why they make it and why we should avoid the built-in array. I really like the idea of a different iterator and we should minimize its operators to maximize the use of containers. It makes me think more carefully about how to use STL more efficiently. The equal method is a great example of generalizing the arguments.

6. What made you happy this week?

The fact that Spring Break is next week makes me happy because I got to catch up with friends and play more volleyball.

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

My tip-of-the-week is don’t forget to put assertion on parameters and the after the return value when you code for every project. Unfortunately, I forgot to do this and have to resubmit project #2 using a virtual token :(

Thank you for reading!



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store