CST 338 Markov Week 4

I worked with Matthew, Dakota and Jerrick. My strategy for this assignment was first figuring out the structure of the program and what methods need to be written first, especially because we need to commit in 2 different branches. My strategy was dividing the code into 2 sections, the first section is the methods required for structuring the words hashmap  including (endsWithPunctuation, addWord, addLine, and addFromFile). When writing these methods I start with writing the necessary method that will allow me to write the next one, for example: I needed endsWithPunctuation before writing addWord. 

Matthew mentioned that he tried planning out the code on paper before writing the code, although he found himself struggling with it. He had a much easier time after writing some code so that he can examine the output on the screen.

Jerrick’s mostly focused on comments and more diligent commits. He did write out some planning on paper before writing the code, which helped him. He also then generated the basic methods first before working on the harder ones.

Dakota Felt more organized than his previous assignment , and also had more meaningful commits. 

I don't see myself sticking to one strategy, since I feel that when it comes to programming, the strategy would depend on the task at hand. Also my classmates things my code follows the Google Java Style Guide. 

Comments

Popular posts from this blog

CST 462S - Learning Journal (service learning)

CST 300 Week 7