Week 13

 CST-338 Week 5

This week was our fifth week in CST-338, also known as Software Engineering.

Markov Review

This week we had to work in groups to answer some questions about the Markov assignment, where we built a simple program that builds random sentences out of a word bank.

Who did you work with?

  • For the Markov review I worked with Jian, Nasser, and Suhaib.

What was your strategy for solving the Markov assignment?

  • My strategy for solving the Markov assignment was the same as the Project 1 assignment.
  • My strategy was to read all of the method descriptions before I wrote any code. As I read them I created method stubs, and detailed TODO comments for each method. Afterwards, I started writing the methods from top to bottom in the assignment prompt. If a method called another method that I had not written yet, I would go ahead and write that method first so I better understood how they interacted.

Was was THEIR strategy for solving the Markov assignment?

  • The strategy for some of my classmates was to follow the prompt step by step. One of my classmates tackled simpler methods first, and saved the more complex methods, or methods that used many other methods, for later.

How would you change your strategy having worked on the assignment?

  • My answer for this is the same as my answer for the Project 1 assignment.
  • I think the TODO comments I wrote for each method were too detailed, and ultimately slowed me down. Instead I would have simply written the Java Doc comments for each method and followed the prompt.

According to your classmate(s): How well does your code follow the Google Java Style Guide

  • According to my classmates, my code follows the Google style guide.

Comments

Popular posts from this blog

Week 4

Week 2

Week 1