in reply to Re: Why programming is so much more than writing code
in thread Why programming is so much more than writing code
But at best it can only tell you *what* the code does. Sometimes the *why* is obvious, sometimes not. A good function name can help, but still....
Personally, I like to see even a one-line blurb on why the function exists. It helps me build (or re-build) that mental map of the system.
Something like:
# Data comes back from the DB sorted by x,y,z. # If the user wants a different order, here's where we do it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Why programming is so much more than writing code
by blazar (Canon) on May 08, 2007 at 16:28 UTC | |
by bibliophile (Prior) on May 09, 2007 at 13:55 UTC |