A modest indentation proposal

brueckd at tbye.com brueckd at tbye.com
Fri Nov 30 00:04:21 CET 2001


On Thu, 29 Nov 2001, Erann Gat wrote:
> The subject of syntactically-significant indentation seems to dominate a
> lot of discussions on Python.

Outside of c.l.py it shouldn't, as in nearly every modern
progrmaming language indentation is already significant to
everyone involved (developer, tester, maintainer) except for
the code parser. Python merely lets you omit tokens that are needed
because the parser isn't smart enough.

> It also IMO makes the language unsuitable for mission-critical
> applications.

Hee hee.

>  It's just too easy to screw up indentation (particularly when cutting
> and pasting large blocks of code) without realizing it.

You often find yourself cutting and pasting large blocks of code in
mission-critical apps? Yikes!

-Dave





More information about the Python-list mailing list