On Wednesday, 22 July 2015 at 22:35:54 UTC, John Colvin wrote:

Admittedly nowhere near as clean, but if you can bear to see the "return"s, function literals can turn any bunch of code in to an expression:


Honestly, I don't mind doing things the D way (and I probably wouldn't have even done that your way). I just think it's interesting when another programming language has a cool feature.

Reply via email to