git checkout -b review-markov
Wk05: Learning Journal Markov
I worked with Josh Goldberg and Christopher Buenrostro.
For this assignment, I took a pretty steady and intentional approach. I started by looking closely at the UML diagram and the method descriptions the professor provided instead of jumping straight into coding. I wrote stubs for all the methods first, which helped me get a feel for the structure and see how everything connected. As I implemented the methods, I realized I was kind of working backwards through the chain—building the supporting pieces before the methods that depended on them. I didn’t sketch anything on paper; I just worked method by method, checking the JUnit tests along the way to make sure things behaved the way they were supposed to. In the end, I documented everything cleanly and reformatted the whole file to follow the Google Java Style Guide.
My strat for this assignment was, I started by looking closely at the UML diagram and the method descriptions the professor provided instead of jumping straight into coding. I didn’t sketch anything on paper. I wrote stubs for all the methods first, which helped me get a feel for the structure and see how everything connected. As I implemented the methods, I realized I was kind of working backwards through the chain—building the supporting pieces before the methods that depended on them, followed up with checking the JUnit tests along the way to make sure things behaved the way they were supposed to. In the end, I documented everything cleanly and reformatted the whole file to follow the Google Java Style Guide.
Chris approached the Markov assignment in the same way they usually handle projects. They started by reading all the documentation before writing any code and spent some extra time studying the UML diagram to understand how everything connected. They even sketched a few simple Markov chains on paper to get the logic straight. After that, they began coding and kept referring back to the documentation as needed. They used Git with three branches—main, markov-words, and markov-sentence—to stay organized. Toward the end, they ran into a couple of bugs that were just syntax and type issues when adding to an ArrayList, but they fixed those pretty quickly. They also reformatted their file using the Google Java Style Guide.
Josh said they followed their usual workflow too: start by reading the documentation carefully, create method stubs from the UML so the structure is laid out, and then gradually fill in the logic step by step.
Overall, I wouldn’t change my strategy next time—I feel like it kept me organized and made the whole project manageable.
My teammates said my code followed the Google Java Style Guide, especially since my final update was formatting all the files in IntelliJ.
Comments
Post a Comment