Week 4: Project 1 Review
I recently collaborated with Mariah Stinson and Cody Hopkins on Reviewing Project 1: LDPM. Here's what I learned from the experience.
Normally, I dive straight into coding based on the prompt's description. This approach helps me map out my next steps. However, I hit a roadblock with the attackModifier method and also the toString test. Initially, I used a case switch for attackModifier, but I could not understand why the test kept failing. I ended up hardcoding a solution out of frustration but ultimately decided to start fresh. I rewrote the method using if-else statements, and it finally worked! I think that stepping back and approaching a problem with a new perspective makes all the difference.
My toString test would endlessly loop because I was not calculating my attack points correctly. I didn't realize I had an unfinished method.
I'm proud of myself for starting this project early so I wasn't stressing about finishing on time. One area I need to improve is adding notes to my code, so I'll work on that for future assignments.
After completing the project, I celebrated by watching Rock of Love with my fiance. Absolutely terrible and yet we watched the entire first season.
Comments
Post a Comment