Why no "=" in if? (was Re: Quick fix to add "+=")
Russell Nelson
nelson at crynwr.com
Sun Apr 18 01:06:33 EDT 1999
aahz at netcom.com (Aahz Maruch) writes:
> I'm getting really sick of the way I have to use this stupid construct:
>
> x = foo()
> if x:
> ...
>
> instead of
>
> if x = foo():
> ...
>
> Why doesn't Guido get off his duff and fix this?????????!
I'm really sick of the way I get to use this stupid construct:
if x == foo():
I think we should go back to the days of condition codes:
compare(x, foo())
ife:
--
-russ nelson <rn-sig at crynwr.com> http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice | that freedom is the
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | cause of world peace.
More information about the Python-list
mailing list