Junilu Lacar wrote:I'm curious, what made you think that this code needs to be cleaned up? (It certainly can be cleaner)
I'm trying to understand where it is you're falling short on understanding what's making your code less than "clean." Is it that you "smell" something but don't quite know how to put your finger on what that smell is? Or are you able to explain what the smell is but are not sure what to do to mitigate or eliminate it?
Erika Her wrote:our methods are only supposed to be 40 lines of code or less, but my main method will have about 50-59 lines of code once I add the other parts of the program in.
Erika Her wrote:methods are only supposed to be 40 lines
Liutauras Vilda wrote:
Erika Her wrote:methods are only supposed to be 40 lines
Regardless what is said, probably you should aim for no more than 10 lines for a start.