From: larsga at ifi.uio.no (Lars Marius Garshol)
Date: 17 Apr 1999 17:13:18 +0200
Subject: Why no "=" in if? (was Re: Quick fix to add "+=")
References: <3717EE20.41343593@mediaone.net> <000701be888f$12fe2920$ee9e2299@tim> <aahzFAC5up.5op@netcom.com>
Message-ID: <wk7lrb46wh.fsf@ifi.uio.no>
X-UID: 1369                                                  

* Aahz Maruch
| 
| x = foo()
| if x:
|     ...
| 
| instead of 
| 
| if x = foo():
|     ...
| 
| Why doesn't Guido get off his duff and fix this?????????!

What's so wrong about it? Personally I seriously dislike assignments
that return values (at least in conventional languages).

--Lars M.




