Actually, most of the code we have given you is very good --- well-structured, well-commented, robust. For sure there are some rough spots, and a very small amount of the code is unnecessary for this assignment. But on balance, it is overall an example of good Java (and object-oriented) programming style.
I think everyone in the class can learn some good lessons by reading it, though this is not necessary for the course or for this assignment.
So, if you find it challenging to read and write Java code, then I recommend spending some time reading and understanding the code we have given you. You don't have to use it in your solution if you don't want, but you'll still learn some useful things out of it. |