Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Python does support if-else in lambdas.... Parent comment
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.
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.