help explaining rationale for indentation

Paul Duffin pduffin at hursley.ibm.com
Thu Aug 24 07:16:28 EDT 2000


bushi wrote:
> 
> Well, having fought the 'brace wars' for years, I find just being able to
> indent as the marker for grouped code very refreshing. Using indentation has
> been a standard practice in my programming for some time.   I can't tell you
> how many hours I've spent trying to track down a dropped brace or parenthesis
> especially when the indented code looked just fine.  Granted, I'm still very
> new to Python but this is one feature that will surely make me a true
> believer.

This is a limitation of the compilers and not the use of braces themselves.
It is perfectly possible for a compiler to use indentation as a guide to
determine whether things have been properly braced or not.



More information about the Python-list mailing list