Hacker News new | ask | show | jobs
by growingconcern 5908 days ago
This doesn't make sense. You're saying adding lambdas doesn't help you solve any problems that can't already be solved in C++, but if you want to solve some of those problems you should use a language that supports lambdas?
1 comments

He's right. You can do anything in {C++, Python, a Turing machine}, but you might want to choose a language that's well suited for your task at hand even though any of them can do it in principle.
That's exactly what I meant. My examples equally have solutions which use these C++ lambdas, but it would be a lot more work than necessary to actually produce or maintain them.
That might be what you meant. But it's not what you said.
I never said that problems exist which require lambdas either... I just said if you want to solve problems that way to use a language designed for it.