Week 4

With whom did you work?

Raquel, Jeremy, and Flavio.

What was your strategy for solving the assignments? Did you start writing code right away? Did you plan it out on paper? 

I am ashamed to admit I did not have a strategy for solving this assignment. I basically just started working through the prompt in the order they came up. Once I got through the whole prompt, I went back through my code to find any compilation errors. After that, I went through to search for logical errors. It was not effective.

What was THEIR strategy for solving the assignments

Their strategy was to begin with fields, setters, and getters, then added the skeleton for each method. Then they took a break (which is noted to be very important and why I need to ensure I allocate enough time in my projects). They also stated that they made plenty of branches to divide each task into, like starting methods, adding other classes, and a final branch to ensure everything worked together cohesively. Throughout the process, they ran the unit test regularly, to identify any issues as they went.

How would you change your strategy having worked on the assignment?

I would first read through the prompt and take note of the different methods and what other methods they call. This is because when I was working on this project, I was jumping around so much, I forgot where I left off and what I was completing another method for. I would then type up all the field members with their respective getter/setters. I would take note of which one seems to be called on the most and probably begin working on that first. I will also start crossing off the methods I have already completed. I will also be sure to run individual tests for each method as I go, to make the process of debugging more manageable. Definitely need to remember to create new branches every time I start another section. Sometimes, I just get caught up and work straight into it. Being able to revert my code has been a life saver for this project.

According to your classmate(s): how well does your code follow the Google Java Style Guide?

According to my classmates, they expressed my code followed the Google Java Style Guide very well and they appreciated the amount of comments I included to make navigating it more simple.

Did you know you can automate applying some of the style guide rules?

Yes, I did because this was shared in the first week of class. I made sure to apply this automation that week when I was setting up IntelliJ. Thanks!

What was the most challenging part?

I am most proud of breaking out the infinite loop my toString() method was creating. It took me two days to figure it out because so much as been written already, I was getting lost. Not only that, the infinite loop was so bad that it kept crashing my laptop. It took several attempts to compile and laptop resets to finally break out that loop. 

What was the most interesting?

The most interesting part was finally understanding how the test code worked. Also, realizing I should have looked through the test code more thoroughly and early on. I ridiculously and painstakingly combed through my code to try to find what went wrong with the name of my Fire Lizard. I learned how to add my own code to help debug the issue only to realize... the test code had a section that named Fire Lizard "Clearly the Best". Needless to say, a very important lesson was learned that day. 

What are you the most proud of?

This project was intense for me, but I am most proud of being able to identify how I can improve my approach to future projects. I learned a lot about what could help me work through the problem more efficiently. 

How did you celebrate completing the assignment? If you didn't how will you celebrate? 

As much as I'd like to celebrate completing the assignment, I am having difficulties at the moment to make time to celebrate between catching up on assignments, work, and other obligations. Adulting is hard. If I can start catching up this weekend, I think I will celebrate by watching some television with something delicious, like maybe tacos. 


Comments

Popular posts from this blog

04 February 2025

Week 7

January 21, 2025