CS371p Fall 2021: Shikhar Gupta

Week of 10/10

What did you do this past week?

This past week, I mostly tried to catch up on work for other classes due to not having a major project in OOP. Most of my time this week was also spent on extracurriculars due to some competitions I have coming up.

What’s in your way?

At the moment, not much is in my way other than just juggling multiple time commitments with extracurriculars and classes. On the bright side, my recruiting season is almost done so I should have a lot more time to focus more on my schoolwork now.

What will you do next week?

Next week, I believe there is a project coming up in the class, so I will try to find a partner and get a head start on that. I am also still very busy with extracurriculars so I will try to also get a jump start and hopefully get ahead with schoolwork if I can this weekend.

If you read it, what did you think of the Paper #7: Open-Closed Principle?

The Open-Closed principle seems very similar to the Single Responsibility Principle in that both of them want to prevent changes that cause cascading errors and failures in dependency. In the case of the latter, this is done by limiting what each class does, and in the former, this is done by preventing changes to defined classes in lieu of abstraction and extension. I think both policies are good in theory, but inevitably don’t always get put into practice.

What was your experience of arguments, returns, and consts? (this question will vary, week to week)

This week’s lectures actually cleared up a lot of the quirks of C++ that I had never been able to understand. The & and * used to be confusing to me, but going deep into what addresses are versus references actually helped to clear out a lot of my misunderstandings. Consts were also a confusing topic for me, and now I think I have a much better understanding of what they mean and how they are used. There have been code and codebases I’ve worked with in the past that use const regularly, and I now understand the use cases for those.

What made you happy this week?

This week, I got to see a lot of my friends and it is also my girlfriend’s birthday this week, so it has been a lot of fun planning for that.

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

My pick of the week is Scikit-learn. It is a machine learning Python library we have started to use in my Data Mining class, and it is extremely useful and powerful tool for doing data processing and machine learning with many different techniques in an easy to use format.