why no "do : until"?

Bjorn Pettersen pbjorn at uswest.net
Wed Jan 3 10:33:31 EST 2001


Grant Edwards wrote:

> [snip]
>
> Personally, I find either style to be infinitely preferable to
> the K&R style:
>
>  if (whatever) {
>    do something;
>    do something else;
>  } else {
>    yet another thing;
>  }

Finally someone quoting the "One True Brace style", such a thing of clarity and
beauty. Of course, you did err in only having two space indents, everyone knows
there should be exactly _four_ spaces for the indented code <wink>.

can't-believe-we're-discussing-brace-styles-here'ly y'rs
-- bjorn




More information about the Python-list mailing list