Week 5

Who did you work with?

Flavio and Raquel.

What was your strategy for solving the Markov assignment?

I started out by reading through the prompt first to get an understanding. I then went through the prompt again, starting the skeleton of each field and method as they arise with commented pseudocode of what was being directed to do. Afterwards, I began implementing each method. Once I felt I got it mostly right, I began running the tests and making adjustments as needed.

Did you start writing code right away? Did you plan it out on paper? 

Not necessarily, because I started reading the prompt first. However, I did not put much thought into how I wanted to achieve the desired result before writing the code, and instead tried to follow the logic in the prompt given as closely as possible first.  I would have preferred I did think about the execution a little more first, to make the workload more efficient. Anything that involved manipulation of the text and accessing specific indexes, I had to visualize, which I did with the use of a chart on paper, following along in the loop to ensure I would not make a logical error.

What was THEIR strategy for solving the Markov assignment

Raquel admitted that she did not have a strategy for this assignment and that due to the busy events in her life at the time, she just went straight to doing the assignment. Flavio read the prompt first then watched the videos posted in the modules. Afterwards, he read supportive documentation before he started writing the code. He did not plan anything out on paper.

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

I felt like the strategy I had worked very well for me. I did not maintain this strategy for the Jotto assignment, underestimating the importance it had on my success. I will now revert back to taking a little more time to set up properly. I will, however, take more time to brainstorm how I will execute the desired outcome, to avoid the stress and confusion when I start implementing the code.

According to your classmate(s): how well does your code follow the Google Java Style Guide? Did you know you can automate applying some of the style guide rules

According to my classmates, my code follows the Google Java Style Guide well and it is probably because i had automated the style guide rules the first week of class. Their only suggestion was to use the multiple line comments rather than the two slashes I had been using, as it would emphasize the parameters and returns (I did not know this).

Comments

Popular posts from this blog

04 February 2025

Week 7

January 21, 2025