Week 13 (4/2/2025 - 4/8/2025)
(Click on READ MORE for better formatting)
Hi everyone, welcome to my 13th blog! This is the Week 5 post for CST 338 Software Design.
This week, we were tasked to work with two classmates to review each other's code for Markov.java. I chose to review two teammates from my group Silicon Surfers (CST 300 group).
- HW01 (Markov) - Peer Review
- With whom did you work?
- I again worked with two teammates from my CST 300 group Silicon Surfers: Michael Sorensen and Wootark Kim.
- What was your strategy for solving the assignments?
- I did a bit of both. I threw code at it but only after thinking through the process.
- What was their strategy for solving the assignments?
- Their strategy was similar for most things, although some differences arose in our methods of implementing getSentence. For instance, Wootark and I both used !endsWithPunctuation to check when the while loop should stop, while Michael used a while true loop combined with a return to determine when to exit the loop. In my opinion, I think the way Michael implemented this is more dangerous as you are opening yourself up to infinite loop potential which could cause a stack overflow.
- According to your classmate(s): how well does your code follow the Google Java Style Guide? Did you know you can automate applying some of the style guide rules?
- They said that my code closely follows the Google Style Guide.
- Yes I did, in fact this is something I asked Dr. C about very early in the semester.
That is all for this week, see you in my Week 13 post!
Comments
Post a Comment