why no "do : until"?
Vassilis Virvilis
vasvir at iit.demokritos.gr
Sun Dec 31 15:54:18 EST 2000
Peter Hansen wrote:
[snip]
>
> But I can't argue with another view on this. After all, in C I've been
> using "brace indentation style 3" for the longest time, in apparent
> violation of 98% of coding conventions in the world. That is, my braces
> are vertically aligned but indented with respect to the "if ()" or "for
> ()" which gets me into the block:
>
> 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? :)
.Bill
More information about the Python-list
mailing list