Week 11 (3/19/2025 - 3/25/2025)
(Click on READ MORE for better formatting)
Hi everyone, welcome to my 11th blog! This is the Week 3 post for CST 338 Software Design.
This week, we were tasked to work with two classmates to review each other's code for Project 1. I chose to review two teammates from my group Silicon Surfers (CST 300 group).
- Project 1 - Legally Distinct Pocket Monsters (Peer Review)
- Summary on feedback received
- Overall, I received positive feedback on the project, with only a few minor issues that were addressed. For example, there was a small logic error in determining when a Monster "finds courage in the desperate situation" since I was checking based on the Monster's current defense value instead of its maximum defense. Overall this oversight did not affect things too much, I think it actually makes things more interesting because it seemed to give more opportunities for the monster to find courage.
- Trends observed when evaluating the code of others
- In regards to the attackModifier method, I noticed that one of my teammates decided to utilize HashMap for determining the modifier value, and in my opinion, is probably the better way of writing this method. The other teammate approached this method in a similar way to how I did it.
- Was any part of writing the code a struggle for YOU?
- Adding on to the previous question, I think the most challenging part of this project was writing the attackModifier method. Although you can use advanced data structures such as HashMap for the logic required (as one of my classmates did), I chose to use an old fashioned if else branch to determine the correct modifier. Part of this is because I come from a community college that disallowed solutions that use advanced data structure logic.
- Was any part of writing the code easy for YOU?
- Honestly, I think writing the concrete implementations of Monster was the easiest part of the project. (ElectricRat, FireLizard, FlowerDino, WeirdTurtle)
- What is your biggest victory?
- I know it sounds silly, but I think my biggest victory is that I submitted this project two days before the due date as I felt like it was going to take me the entire week to finish it.
That is all for this week, see you in my Week 12 post!
Comments
Post a Comment