Thursday, August 25, 2011

C++11 : a great addition

I have always liked a certain subset of C++. I never cared much for OOP, but I have always liked functional paradigm. The C++ standard has just undergone a major revision and it has now added support for lambda functions.

Now, C++11 is almost my favorite language. It offers precise control over memory, instructions and data structures while almost letting you use functional composition and functional abstraction and offers type inference to boot.

There a few brittle points, and the new STL still seems to lack a version/variant of reduce operation.

If only C++ had a garbage collected and interpreted subset ass well :)