Week 5 - Markov Reflection
Reflection Questions
1. Who did you work with?
The rest of Team 8 AKA Ethan G, Keshab N, and Matthias I.
2. What was your strategy for solving the Markov assignment?
Having learned my lesson from the LDPM project, I just focused right in on each method matching the descriptions as closely as possible instead of trying to fill in the gaps with my own concepts of how to make the code work. Instead of trying to have a lot of stop-and-go checkpoints that make sense to me, I tried to just keep trusting the process of the assignment and a good deal of tests pass upon first run with this approach.
3. Did you start writing code right away? Did you plan it out on paper?
I did not bother with any planning upon reading the assignment, if this was a project with less structure fleshed out it would be imperative to plan a little harder. In this case, so much of the pathway was laid out that I felt like a contractor working off a blueprint for a building. There were things that took a little refinement but between commenting in the TODO's and having to repeatedly go down the list of fields/methods, the planning was essentially built-in already.
4. What was THEIR strategy for solving the Markov assignment?
Ethan's strategy for solving the Markov assignment was similar to his LDPM project 1 strategy. He followed the UML diagram, with a key emphasis on getting the visibility modifiers and attributes correct. He then viewed sample runs that were provided at the bottom of the prompt and started coding the easier looking methods, saving the bigger ones for later foreseeing that they would cause the most headache and was delaying the inevitable. From there it was debugging, reformatting, and adding comments for himself and future readers.
5. How would you change your strategy having worked on the assignment?
As per the status quo with me thus far in this class, for the aspects I choked up on I needed to re-reread the method descriptions and could have saved time. I don't regret mucking about in the code, always feels like a learning experience. I feel generally good about how I handled this project, this was a fun one. I could stand to optimize some loops in just about every project I have done for this class, I just tend to have do a little time triage with other work
6. According to your classmate(s): how well does your code follow the Google Java Style Guide
They report that it follows well! Shout out to the downloadable Google Java Style Guide formatter!
Comments
Post a Comment