News for hackers. Stuff that matters.
Re:WTFPython – Understanding Python through surprising snippets by joshuamorton on Monday December 23, 2019 @11:42AM (#21864827)
As others mentioned, using lambdas this has been possible for ages. There's even a too to auto convert pre walrus code to a single line.

It's just that no one does it.

There are no comments on this comment yet.