News for hackers. Stuff that matters.
Re:The Great Programming Language Continuum; or why C++ is d... by YuriNiyazov on Sunday January 20, 2013 @03:20PM (#5088055)
Wow, have you looked at C++11? It brings in everything you love about functional languages and improves on it.
Re:The Great Programming Language Continuum; or why C++ is d... by greyfade on Sunday January 20, 2013 @06:16PM (#5088712)
I wouldn't say "improves on it." It certainly does bring a lot of really nice functional features to the table (oh, I love async and lambdas, and futures are such a nice tool to have), and it fixes a lot of problems that have plagued the language for decades, but it doesn't "improve" on functional programming any more than Java does.
Re:The Great Programming Language Continuum; or why C++ is d... by thwest on Sunday January 20, 2013 @03:38PM (#5088131)
I love C++11 but it still doesn't get me lazy evaluation
Re:The Great Programming Language Continuum; or why C++ is d... by PommeDeTerre on Sunday January 20, 2013 @03:56PM (#5088196)
There are a variety of techniques for implementing lazy evaluation when using C++. What's stopping you from using these approaches, or using an existing library like Boost Phoenix?
Re:The Great Programming Language Continuum; or why C++ is d... by greyfade on Sunday January 20, 2013 @06:15PM (#5088707)
It does have `std::async`, which is in the general direction of being close.