why no "do : until"?
D-Man
dsh8290 at rit.edu
Wed Jan 3 10:02:13 EST 2001
On Wed, Jan 03, 2001 at 02:45:29PM +0000, Grant Edwards wrote:
[...]
> 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;
> }
>
> I simply can't read read code like that, and generally do an
> 'indent -gnu' on it before I try to figure out what's going on...
It's too bad the Java people at Sun didn't learn this lesson yet. ;-)
-D
More information about the Python-list
mailing list