Posts

Showing posts from July, 2024

CST 338 Week 5

 1. I worked with Dakota, Jerrick, and Mohamed  2.  After last assignment I decided to try planning my code on paper first rather than just begin writing. I can understand how it might work for some people but for me I found my self struggling with understanding what I wrote and why I wrote it. For me it is much easier to begin writing code so I can see how the code interacts on the screen than on paper.  3. After reflecting on last assignment, many of my teammates took a little bit longer looking at the prompt before wrtiing any code. After gain a firm understanding of the entire prompt they wrote some of the simpler methods and then began implementing the harder ones. 4. I would definitely start writing code before I wrote anything down on paper, and then once I had some code on the screen and something that had some logic to it I would transition to paper to understand how the variables will interact and flow together.  5. My teammates said that my code was v...

CST 338 Week 4

 1. I worked with Dakota and Jerrick.  2. My strategy for most of my assignment was to  just start writing code and then on the more complex methods I wrote out the logic and how the variables traveled throughout the methods. This was especially true in the library.java file.  3.  They were both very similar to me in that they wrote skeleton code and then worked out the logic while working with the prompt. They also used the unit tests to help test and improve their code 4. I would write out more of my code before typing it up so I don't have to spend so much time reworking areas that have sloppy code. 5. My code does not follow the java style guides as very little java docs and comments were used.     1. I did not you could automate the styles. 

Week 3 CST 338

Dakota and Mohamed recommended that I use more comments that would make my code more accessible to someone who was looking at it for the first time and also to make sure that my use of white space and code formatting was consistent. These are both things I have been told before and I think that the chaotic nature of the formatting of my code comes in part from the way that I think. I know that it is something that I need to work on and will focus on it in the future, The part of the code that was the biggest struggle for me was the debug method. Trying to get the output to look aesthetically pleasing but also making sure my code wasn't overly complex took me quite some time. Most of the other parts of Homework 1 I would consider as easy especially with IntelliJ making creating getters and setters very easy. My biggest victory was figuring out how to use string builder and modifying the output given to string builder.