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 cod...