
29 Sep
2008
29 Sep
'08
9:30 p.m.
Zeljko Vrba:
The best way to understand the purpose of Phoenix is, IMHO, to have some first-hand experience with a true functional programming language with type-inference and first-order functions, such as SML.
I'm not sure. The purpose of Phoenix (and Lambda, and boost::bind) is simple: to provide a concise way to create function objects. Most C++ programmers are familiar with the need to write function objects and there is no need to learn SML to take advantage of the basics. Many people start with just needing *_1 < *_2 or bind(&X::name, _1) < bind(&X::name, _2). Some of them simply do not need to go further (or aren't allowed to, by a coding standard).