Case-sensitivity: why -- or why not? (was Re: Damnation!)

Mikael Olofsson mikael at isy.liu.se
Tue Jun 6 08:49:10 EDT 2000


On 06-Jun-00 Martijn Faassen wrote:
 >  It's more inflexible. I can't do:
 >  
 >    start()
 >      do_a()
 >      do_b()
 >    commit()
 >  
 >  And occasionally that would be nice. 

But you can do 

  if 1:
    start()
    do_a()
    do_b()
    commit()

which gives you your wanted but unnecessary indentation.

/Mikael

-----------------------------------------------------------------------
E-Mail:  Mikael Olofsson <mikael at isy.liu.se>
WWW:     http://www.dtr.isy.liu.se/dtr/staff/mikael
Phone:   +46 - (0)13 - 28 1343
Telefax: +46 - (0)13 - 28 1339
Date:    06-Jun-00
Time:    14:47:36

This message was sent by XF-Mail.
-----------------------------------------------------------------------



More information about the Python-list mailing list