reduce to be removed?
Ben Finney
bignose+hates-spam at benfinney.id.au
Sun Nov 12 04:19:37 EST 2006
"Dustan" <DustanGroups at gmail.com> 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
More information about the Python-list
mailing list