Wk04: Learning Journal Project 1 review

With whom did you work?

I worked with Leonardo, my brother. We both completed the project individually, but helped each other by reviewing each other’s code and mostly talking through the logic.

What was your strategy for solving the assignments?
My strategy was to follow the instructions step by step and break everything down into pieces. I started by building the abstract base class, then worked on each subclass one at a time. I wrote the code and tested it. When I got stuck or needed to think through something, I called Leonardo to talk it out. Talking through the logic really helped me move forward when I was blocked (quite often).

Did you start writing code right away? Did you plan it out on paper?
I didn’t draw anything on paper, but I followed the UML diagram and instructions closely. I visualized the structure in my mind and then began coding based on it.

What was THEIR strategy for solving the assignments?
Leonardo had a similar approach. He followed the UML and worked through each class in order. His code was clean, easy to read, and passed all the tests. He helped me see things I needed to fix in mine, like small logic or style issues.

How would you change your strategy having worked on the assignment?
I’d be more careful about cleaning up leftover comments like TODO or //FIX THIS before submitting. I’d also catch small things like comparing a char to a String earlier, instead of waiting to debug it later.

According to your classmate(s): how well does your code follow the Google Java Style Guide?
Leonardo said my code was easy to read and well-organized. He liked my variable names like secretWordguessedLetters, and numberOfHints, and said the logic was clear. He noticed I had Javadoc comments for most of my methods, though I did leave a couple TODOs behind. Overall, he said it followed the style guide pretty well.

Did you know you can automate applying some of the style guide rules?
I plan to use IntelliJ’s auto-formatting tools for the next one to save time and make my code even cleaner.

What was the most challenging part?
Getting the output formatting to match the expected result exactly. Also, making sure all the logic was consistent and testing edge cases, like how getHint() handled characters already guessed.

What was the most interesting?
I liked working with abstract classes and seeing how the subclasses interacted with the parent class. Overriding methods like attack() and specialAttack() helped reinforce how inheritance works in practice.

What are you the most proud of?
That all of my tests passed after so many failures, and that I overcame my GitHub hatred 

How did you celebrate completing the assignment?
I SLEPT AND WENT TO WORK THE NEXT DAY, well maybe bought some Pacificos the next day

Comments

Popular posts from this blog

Week 2 Learning Journal Post

Industry Expert Interview – Exploring Career Paths and Industry Trends

Week 4 Learning Journal