Re:Python does support if-else in lambdas...
by brianr on Sunday November 09, 2008 @11:39PM
(#358872)
The problem with that construct is that trueaction itself must evaluate to true, or the expression will evaluate to falseaction, which most likely is not what you want:
Even crazier things can happen if trueaction has side effects:
[ Parent
| on HN ]
There are no comments on this comment yet.