News for hackers. Stuff that matters.
Re:Lambda-style anonymous functions for C++ in less than 500... by jey on Tuesday April 13, 2010 @12:41PM (#1262530)
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.
Re:Lambda-style anonymous functions for C++ in less than 500... by jheriko on Tuesday April 13, 2010 @01:52PM (#1262786)
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.
Re:Lambda-style anonymous functions for C++ in less than 500... by growingconcern on Wednesday April 14, 2010 @05:34PM (#1266210)
That might be what you meant. But it's not what you said.
Re:Lambda-style anonymous functions for C++ in less than 500... by jheriko on Sunday April 18, 2010 @02:13PM (#1275194)
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.