[Python-Dev] while:
Manuel Amador
rudd-o at amautacorp.com
Wed Jul 20 06:06:43 CEST 2005
El mié, 20-07-2005 a las 13:26 +1000, Anthony Baxter escribió:
> On Wednesday 20 July 2005 13:13, Martin Blais wrote:
> > it got me wondering, wouldn't it be nice if
> >
> > while:
> > ...
> >
> > behaved as:
> >
> > while True:
> > ...
>
> -1
>
> I don't expect if: or for: to mean anything, so why
> should while: ? I don't see any advantages to it (saving
> 5 keypresses? please...)
maybe a new idiom
forever:
...
is in order?
(perhaps it would be better to call it "always:" or "until_break")
(this message is a bit tongue-in-cheek)
=)
>
> Anthony
--
Manuel Amador <rudd-o at amautacorp.com>
http://www.amautacorp.com/ +593 (4) 220-7010
More information about the Python-Dev
mailing list