CS371p Spring 2021: Hogan Tran
What did you do this past week?
For most of the past week, I’ve been working on the Darwin project with my partner. We made a lot of progress in terms of setting up Darwin, Creature, and Species, as well as getting the I/O to work.
What’s in your way?
My partner and I are finishing up our project. For now, we just need to optimize our code to pass the last HackerRank test as well as writing unit/acceptance tests.
What will you do next week?
Hopefully, my partner and I will finish the Darwin project by Tuesday. Afterwards, I plan to attend lectures and possibly prepare for the next project. I also have a few tests coming up so the following week will be quite busy.
If you read it, what did you think of the Why getter and setter methods are evil?
Coming from Java and CS312/CS314, I thought getters and setters were just a crucial and necessary part of OOP. However, after reading the article, I see the downfalls of giving users semi-access to the implementation of the object. We want to abstract as much of our code as possible, and getters/setters limit us from doing that.
What made you happy this week?
I got to go the Austin Zoo this week! While it wasn’t as big or grand as other zoos, I was still happy to actual visit a zoo and see rescued animals living out their best lives.