I worked with Ysabelle Kim on this assignment. Her code worked and scored 19 out of 20. The only thing she missed was one branch, but everything else worked the way it was supposed to.
For my strategy, I didn’t plan it out on paper. I just started coding right away because there were so many assignments due around the same time, and I wanted to get something working first. Ysabelle said she approached it the same way. We were both more focused on getting it finished quickly than slowing down to plan or map things out. Looking back, we both agreed we probably would’ve saved some time (and stress) if we had done a bit of planning first.
We didn’t go through each other’s code line by line, but we did talk about how we approached the assignment and what parts felt the most difficult. The logic for Markov itself wasn’t too bad once it started working, but getting it set up cleanly felt rushed. Most of that came from trying to balance this with all the other assignments we had due.
If I did it again, I’d take a little time to plan the flow of the program before starting to code. Even a quick outline could have saved some of the testing and rework later on.
I already have the Google Style plugin installed in IntelliJ, so my code gets formatted automatically as I work. That part at least made things easier because I didn’t have to worry about spacing or style at the end.
No comments:
Post a Comment