Quote:
|
Originally Posted by Valmont
You want functions to do as little as possible.The second function is trickier. Using the for-loop to loop through arrays for display reasons.
|
Should I include only functionality within a function (that sentence somehow makes more sense now

), and anything that is related to program flow I should extract out of my functions, and place it somewhere in main? And the next step being make sure main is readable and not throw 120 lines into there, but only the meat and potatoes?