Wk05: Learning Journal Markov
For the Markov learning journal I worked with two classmates, Sylvia and Jael, and we compared our solutions over Discord. For my own strategy, I first read the prompt and the Javadoc very slowly, then I looked at my previous notes from class and the Google Java Style Guide to remind myself how things should be written. Before I started coding, I actually wrote things down on paper like the fields I would need, what each method should do, and how the data should flow through the HashMap. After that planning step, I opened the tests to see what each method was supposed to return, then I implemented one method at a time like addFromFile , getWords , and getSentence and ran the unit tests after each change so I could fix mistakes right away instead of at the very end. Sylvia's strategy was more structured, she followed the intro video, set up the basic class and method stubs, then carefully copied the logic from the prompt into Javadoc and used that as a checklist while implementing...