Tuesday, July 16, 2024

CST 338 - Week 4

This week we got together with teammates and reviewed each other's code for project 1.

You can work with up to three people (you MUST work with at least one other person)
1. With whom did you work?


I worked with Alan and Abdul.


What was your strategy for solving the assignments?
Did you start writing code right away? Did you plan it out on paper?


For the first 3 parts of the project, I didn't plan anything out, I read the prompt and took it one piece at a time, never moving on until I finished the first part. For the final part of the project, I just wrote everything and then dealt with the errors and bugs later. 

What was THEIR strategy for solving the assignments?

I would say me and Abdul took a similar approach and took it one step at a time, and Alan opted to write a skeleton for each class and then work on implementing it.

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

Honestly, I don't know. I had a lot of trouble with the Library.java class, but the others went smoothly. So, I don't think I would change much. I did mess up writing another class by not paying close enough attention to the prompt, so I guess I will pay closer attention in the future.

According to your classmates, how well does your code follow the Google Java Style Guide?

There were a few issues with my code such as using 4 spaces for indentation, a column limit of 100, line-wrapping, and braces for if statements even when it's a single line.

We also learned we can automate some of the Java style guides in Intellji https://medium.com/swlh/configuring-google-style-guide-for-java-for-intellij-c727af4ef248.
 I never used JetBrains before this class, but I love them now!

No comments:

Post a Comment

CST462S - Service Learning Experience

With the first half of my Summer semester now coming to a close, I am submitting my final assignments and preparing for the upcoming class i...