News for hackers. Stuff that matters.
Re:Initialization in C++ is Seriously Bonkers by geezerjay on Monday January 07, 2019 @05:12AM (#18844080)
As I see it, adding lambda/anonymous functions would have a transformative impact on the whole language. Adding them to C++ had a similar impact although the language offered some ways to get around the limitation.
Re:Initialization in C++ is Seriously Bonkers by maxxxxx on Monday January 07, 2019 @01:04PM (#18847947)
Very true. When I look at C# pretty much all the cool stuff they have added relies on lambdas and closures. Same for JavaScript. It's the one feature that enables a ton of other features.