This week we had our first homework assignment. For me it was a real challenge. We had to program a game called Jotto which is similar to Wordle. I think the biggest challenge for me was figuring out how all the different methods work together in the game. We were provided with a UML diagram and some starter code, but I found it challenging for me to understand what each function did. I also had some difficulty figuring out how to understand what the Jotto Test file was doing. I know it was checking and testing my code but I think I need more practice with unit tests to clearly understand what is happening. I think this week really exposed some of my weak areas when it comes to using Java. I can get through the initial stages and setups pretty easily, but when it came to programming the logic I really struggled. I find I have to put in extra repetitions to remember all the different details about coding. Programming is also very precise so if I do not remember all of the details of the language it makes for tough sledding.
For the Markov code review I worked with my teammate Brandon Hoppens. My strategy for the Markov assignment was to first read through the entire prompt and ensure that I had a general idea of what the program was supposed to do. I then worked through the prompt building each method before moving on to the next. I built all of the methods and then ran the test after my initial build. I was able to pass a few of the test and failed others. I then went back to the individual tests I failed and manually debugged them. This was in contrast to how Brandon tackled the prompt as he was implementing the methods as they were needed. He worked to ensure each piece that he added worked with the existing code base. I think I would change my strategy to adopt some of his methods and use an incremental approach. I relied on building the entire program before running the first test, and I can see how on bigger projects this could lead to some frustration. The feedback I received from Brandon was ...
Comments
Post a Comment