Here's why the "Good" example is so named:
- Comments: These let the programmer and any other readers easily undestand
what is trying to be accomplished.
While simple functions may not need comments,
as programs become more complex, comments become more necessary.
- Names: Along the lines of making a program easy to understand, sensible names for functions
and parameters make the coding logic stand out.
- Indentation: Having proper indentation makes the structure and logic of a program stand out easily.
For example, having code all against the left edge doesn't allow nested structures,
like logical statements, to stand out.