Boost logo

Boost :

From: Vesa Karvonen (vesa.karvonen_at_[hidden])
Date: 2001-11-28 08:33:06


From: "Andrei Alexandrescu" <andrewalex_at_[hidden]>
[...]
> I prefer to
> have a good, simple design that uses partial specialization
[...]

Partial specialization, or pattern matching, can be nice at times. However,
even FP people realize that pattern matching is rather inflexible. Writing an
algorithm (higher order function) using pattern matching ties the algorithm to
a single data structure (such as a list). There are much more effective ways
to write reusable code.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk