A modest indentation proposal

Chris Barker chrishbarker at home.net
Fri Nov 30 21:36:26 CET 2001


Lucio Torre wrote:
> Seriously, if coherent design is a concern to any of you, please let me
> know why a block starting colon is proper, but a block closing elemnt is
> not.

Coherent design can be a concern, but not neccessarily overriding.
Anyway, the colon can be usefull when you want to do a one liner:

if istrue: print "it's true"

Personally, I'd be happy to live without that, but it is such a small
deal that I don't care in the least.

Stop flogging the horse, it's DEAD.

-Chris



-- 
Christopher Barker,
Ph.D.                                                           
ChrisHBarker at home.net                 ---           ---           ---
http://members.home.net/barkerlohmann ---@@       -----@@       -----@@
                                   ------@@@     ------@@@     ------@@@
Oil Spill Modeling                ------   @    ------   @   ------   @
Water Resources Engineering       -------      ---------     --------    
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------



More information about the Python-list mailing list