Week 11 - Project Reviews
This week had to review a Histogram class that was completed in the previous week. I reviewed Andrew and Adrain's code this week and received feedback from Andrew on the project. This was my first-time reviewing code in an academic environment. I think looking at other’s code helped me compare my strengths and weaknesses. This project particularly highlighted my weaknesses. If I took the time, I could really write some more robust code. Andrew noticed some redundancies in my code in a couple of functions. He also noted that my method of displaying the histogram on the console could use some improvement. He stated it lists out the letters in order. These were some valuable suggestions that could be improved to make my code better.
The read method took the longest to complete and I’m glad we were walked through it, but I should have taken the challenge to see if I can make it better. Because we were helped through a lot of this project, the difficulties I experienced were writing the logic in the functions that were left over. I walked myself through the project overview and used the UML diagram as a guide. I tend to run the test to see if it works, but if it does, I should still check for logical errors and see if it can be written more efficiently.
Looking forward I’ll make sure to take my time with logic and not get excited at the first sign of a successful run. I also need to make sure I’m complying with the documentation provided as it’s proven to be very useful with the Library project. I think now that I have a grasp of how this course operates, I’m finding my rhythm.
Comments
Post a Comment