why no "do : until"?

Peter Hansen peter at engcorp.com
Mon Jan 1 03:00:56 EST 2001


Vassilis Virvilis wrote:
> 
> Peter Hansen wrote:
> > while (1)
> >    {
> >    T = f();
> >    if (T < 25)
> >        break;
> >    }
> >
> > Use of that convention is probably what has made me quite happy with
> > Python's indentation style, which essentially matches this pattern.
> 
> I am writing C like this also. Should we form a club or something? :)

Alas, I believe we're in such a minority our cause is hopeless (though
well defended by, for example, Code Complete).  It's rare to find an
editor or formatter which even admits to the existence of such a style.

My solution was simple: code in Python.  Problem solved.  :-)



More information about the Python-list mailing list