approach to writing functions

Ben Finney bignose-hates-spam at and-benfinney-does-too.id.au
Tue Feb 10 03:10:38 EST 2004


On Mon, 09 Feb 2004 22:53:40 -0800, Paul Prescod wrote:
> Imagine a university textbook without chapters. It is somewhat harder 
> to navigate the one long stream. By convention, programmers use 
> functions as "chapters."

Naah.  The modules are the "chapters".  Classes are "sections", and
functions are "subsections".

And every sentence should fit on one 80-column line, or be broken into
multiple sentences that do.

-- 
 \          "The trouble with Communism is the Communists, just as the |
  `\        trouble with Christianity is the Christians."  -- Henry L. |
_o__)                                                          Mencken |
Ben Finney <http://bignose.squidly.org/>



More information about the Python-list mailing list