Sujet : Re: AWK As A Major Systems Programming Language
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.miscDate : 22. Aug 2024, 00:59:08
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <va5v0b$21r6$1@dont-email.me>
References : 1 2 3
User-Agent : Pan/0.159 (Vovchansk; )
On Wed, 21 Aug 2024 19:18:08 +0300, Anton Shepelev wrote:
Stefan Ram:
|The Zen of Python, by Tim Peters |[...]
|Flat is better than nested. [...]
Then why does Python lack the ultimate code flattener, the `goto'
operator, and mandates structural indentation?
I never took that “flat is better than nested” nonsense seriously, anyway.
If I need to nest in my Python code, I nest: statement nesting, function
nesting, class nesting, whatever makes sense.