Why "flat is better than nested"?

rantingrick rantingrick at gmail.com
Mon Oct 25 10:47:19 EDT 2010


On Oct 25, 5:07 am, kj <no.em... at please.post> wrote:
> In "The Zen of Python", one of the "maxims" is "flat is better than
> nested"?  Why?  Can anyone give me a concrete example that illustrates
> this point?

Simple. This commandment (endowed by the anointed one, GvR) is
directed directly at lisp and those filthy lispers. If you don't know
what lisp is then Google it. Then try to program with it for one hour.
Very soon after your head will explode from the nested bracket plague
and then you shall be enlightened!




More information about the Python-list mailing list