Monday, March 31, 2025

Week 11

 Week 11 (3/19-3/25)

Summary of my feedback


What are some trends when evaluating others' code? Was any part of the code a struggle for YOU? Was any part of writing the code easy for YOU? What is your biggest victory?

It seems like most of us struggled with attackModifier(). This includes me. I implemented a helper method. Luckily, I joined the office hours with the TA, and Pol was so helpful to let me know just by looking at my code real quick to fix the helper method because it did not comply with the Google Java Style Guide, so I was able to fix it a day before submission. Can't say there are many trends, we all used different approaches when implementing methods, maybe setType() was a bit similar.

I struggled with passing setType() especially the expected -1, it was the one i had a hard time with because i was not setting the highestModifier in the attackModifier() but in the setType, at first, I used hashMaps in the attackModifier so i switched it to else if, which is not as effective but it helped my setType to be set up more simple.

The constructors, auto-generated setters, and getters are clearly the easiest part to write. After that, the toString(), getPhrase(), and setPhrase(Monster monster) methods are used.

My biggest victory was, like most people would say, seeing all the tests pass.

Peer feedback: https://docs.google.com/document/d/1uS3zxM_Za1-Uj1ZNxaYKUX4BqJhvcUr2izGR-tkuKME/edit?tab=t.0





No comments:

Post a Comment

Week 1

 Week 1 (5/25-6/1) What did I learn in the first week at CST334: Operating Systems? This week, I read the required textbook chapter and lear...