CS371P Spring 2021: Samantha Tuapen

Hi everyone! This is my twelfth blog post for CS 371P: Object-Oriented Programming

What did you do this past week?

I finished working on the Darwin project with my partner. I found this project to be a great way to practice and challenge myself to not rely on getters and setters but rather use a delegation strategy between classes. Conceptually, it’s easy to grasp but when it comes to the actual design and code, it took a while to understand.

I also appreciate the elegance of having a vector of Creature objects that the Darwin board would refer to with pointers because it is more efficient and saves time and space than passing/receiving by value.

Outside of this class, I had 2 midterms and 2 other projects I had to complete, so it was a very busy week for me.

What’s in your way?

Now that this second wave of midterms is behind me, nothing is in my way.

What will you do next week?

I will begin working on the final project after Professor Downing explains the problem and specs. I will also plan out the courses I’m interested in registering for for next semester. I can’t believe this semester is already nearing the end…

What did you think of the More on Getters and Setters?

I enjoyed reading this after the paper from last week. By walking through an example of the Builder strategy, I’m beginning to get a better idea of how to separate the UI and business functionalities of an object in order to abstract internal implementation and make code maintainability less difficult. However, I am still unsure how I can apply the Builder strategy on my own, because the need for two interfaces (Import and Export) and how they interact with the business-object class are kind of confusing to me.

What was your experience of sequence containers, container adapters, and associative containers?

I’m pretty familiar with these containers and adapters since I’ve reviewed them in Data Structures and with Downing in his software engineering course, but I learned more about how a deque works under the hood with the array of arrays and I enjoyed working through the outline of implementation for the three container adapters (stack, queue, and priority queue) because it allowed me to consider all the tradeoffs these work horses (vector, list, deque).

What made you happy this week?

Submitting all my projects and exams! It felt good to finally put those behind me because I’ve been working and studying non-stop. My sleep schedule is slightly messed up because of it, but I hope to fix it back up this weekend.

Also I know I’m veryy late to the party, but I finally got around to watching Stranger Things for the first time! Now I can truly understand the hype surrounding it in 2016…

Thank you for reading my blog post for this week! Hope you have a great week ahead.