4 ms·
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
by growingconcern 16y 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?
- jey 16y agoHe'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.
- jheriko 16y agoThat'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.
- growingconcern 16y agoThat might be what you meant. But it's not what you said.
- jheriko 16y agoI 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.