CS371P Spring 2021: Week 5
What did you do this past week?
This past week, I spent most of my time reviewing previous lecture materials from the week before the shutdown. I also got started on the Voting assignment and am currently preparing for an upcoming mechanics test.
What’s in your way?
The shutdown and week without classes has led me to develop a lazy mood, unfortunately. I am currently working towards getting back into the learning mood and acting on a strict schedule.
What will you do next week?
I have a mechanics test coming up on Monday, so hopefully that goes well. I also plan to quickly finish up the Voting assignment before the deadline and to fully catch up on all of my lecture materials discussed the week before the shutdown.
If you read it, what did you think of the Single Responsibility Principle?
Reading this article was a great learning experience. I thought it was interesting to assign one and only one responsibility to each class, which flipped my understanding of object-oriented programming over its head. I had always thought of classes as a means to encapsulate all of an object’s behaviors. I understand that restricting each class to one responsibility can lead to a more organized coding experience, but I am not sure if it is always convenient to do so.
What was your experience of Voting and consts?
I am grateful for the lectures concerning consts, which have significantly enhanced my understanding of how the variable type works. The additional voting lectures have also cleared up my confusion over how the project’s user input works. So far, the Voting assignment has been a fun project to work on.
How did you fare in the storm?
I was lucky enough to have ample water, WIFI, and electricity throughout the entirety of the storm. Our power went out once for an entire evening, but otherwise, it wasn’t a terrible time.
What made you happy this week?
While waiting for my power to come back on during the storm, I was able to pass the time by teaching my parents how to play Texas Hold’em. We didn’t have any poker chips, but I suppose Mahjong tiles work fine. It ended up being a fun family moment.
What’s your pick-of-the-week or tip-of-the-week?
If you use Visual Studio Code to work on programming projects, try out the Live Share extension pack for whenever you are collaborating with others. This pack is similar to how Google Docs work when two or more users are editing the same document. It is easy to learn and easy to use.