"Dustan" <[EMAIL PROTECTED]> writes:

> Steven D'Aprano wrote:
> > Repeat after me:
> >
> > "Not everything has to be a one-liner."
>
> Not everything has to be a one-liner. But readability helps.

Indeed. Complex one-liners are rarely as readable as a well-named
function call, implemented with several explicit readable lines in
one place, and then re-used as many times as necessary.

-- 
 \      "Anyone who believes exponential growth can go on forever in a |
  `\     finite world is either a madman or an economist."  -- Kenneth |
_o__)                                                         Boulding |
Ben Finney

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to