Tuesday, July 9, 2024

CST 338 - Week 3

Feedback received about my Histogram Java code

Abdul brought to my attention that I can use append("=".repeat(29)) instead of creating a long string of equal signs. He noted my variable names, comments, and formatting were all good.

Alan mentioned that I could implement the bubble sort algorithm with a single loop by utilizing a boolean that tracks whether we changed the list on the previous pass. He also mentioned that my imports should be replaced with individual imports for each utility to increase readability and compilation time.

Farooqkhan mentioned he had no issues with my code's logic, formatting, variable names, or comments.


Identify any trends you noticed when evaluating the code of others

After viewing everyone's code, and reflecting on my own, I would say the thing it seemed everyone struggled with was creating the display and getting it to work according to the assignment specifications.


Was any part of the code a struggle for YOU?

Yes, I found the display to be difficult to display properly. It took me hours and trying a bunch of different things before I managed to get it to work.


Was any part of writing the code easy for YOU?

The sorting algorithm was not particularly difficult. I had never used a bubble sort algorithm prior, so I had to research it, but I found it easy to implement and understand.


What is your biggest victory?

My biggest accomplishment was completing the assignment on time and having my display work correctly.

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...