News for hackers. Stuff that matters.
Re:Python does support if-else in lambdas... by globalrev on Sunday November 09, 2008 @11:37PM (#358870)
The formatting got messed up but yes I agree. They were just examples, not the best ones perhaps.

I have felt a need for it sometimes though. Very complicated lambdas are perhaps generally better off as normal functions.

But I hate creating one-time-use functions if it isn't necessary.

There are no comments on this comment yet.