Computer Science BS Journal: Week 13

 This week we are reviewing the Markov assignment with classmates. For the Markov review I worked with Neng Lao. He helped me get out of a tough spot with my failing tests and in the end I had all tests passing and got full marks. (I had a typo 😭)

  1. Who did you work with?
    1. I worked with Neng Lao
  2. What was your strategy for solving the Markov assignment?
    1. Did you start writing code right away? Did you plan it out on paper? 
      1. I didn't plan anything out, but I initially read the coding prompt and took a look at the UML diagram to get an idea of what was to be included. After reading and becoming familiar with the prompt I had it opened on my other screen while I created my stubs. Then I simply went down the list of methods on the prompt and coded them in order.
  3. What was THEIR strategy for solving the Markov assignment.
    1. Neng said his strategy was "For the assignment my strategy was to write out all the stubs and worked through each function/method one by one making sure they pass the test. Some methods that calls on other methods required ensuring those methods were written out completely so I made sure those passed before doing any methods that calls other methods."
  4. How would you change your strategy having worked on the assignment?
    1. I think after finishing the assignment one thing I'd like to change in my strategy is to run my tests more frequently and correct my mistakes as I go, rather than arrogantly type out all of my code expecting it to work and then be lost at the end because I can't narrow down where my error is at. By doing that I can fix my code as I go rather than be lost at the end.
  5. According to your classmate(s): how well does your code follow the Google Java Style GuideLinks to an external site.?
    1. I didn't really catch any comments about my code from Neng so I'm going to assume I did a good job following the style guide.
  6. Did you know you can automate applying some of the style guide rulesLinks to an external site.?
    1. I did not know that, this is going to be very helpful.

Comments

Popular posts from this blog

Computer Science BS Journal: Week 4

Computer Science BS Journal: Week 2

Computer Science BS Journal: Week 5