> > XXXXXXXXXXXX
> >     XXXXX
> >     XXXXX
> >     XXXXX
> >
> > Thats Python! Since you are on this list I suspect you do write
> > "code like that" Its just Guido removed the now extraneous {}...
>
> My favorite, Allman style, is also Python if you remove the {} !

Yep but the braces in Allman completely wreck the block structure

XXXXXXXXXXXXXXXXX
XXX
   XXXXXX
XXX

> BTW, Steve McConnell recommends your favorite too in Code Complete.
But
> he also didn't manage to convince me.

Thats where I first found it, I looked up a couple of references and
the
message was consistent, so I changed my style. (And my emacs settings
:-)

Alan G.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to