Sciweavers

SPE
2002

FC++: Functional tools for object-oriented tasks

13 years 11 months ago
FC++: Functional tools for object-oriented tasks
FC++ is a library for programming functionally in C++. Compared to other C++ functional programming libraries, FC++ is distinguished by its powerful type system which allows manipulating parametrically polymorphic functions (e.g., passing them as arguments to other functions and returning them as results). In this paper, we show how FC++ can be used in common OO programming tasks. We demonstrate FC++ implementations of several common design patterns (Adapter, Builder, Command, and more). Compared to conventional C++ implementations of these patterns, our implementations are either simpler (in that fewer classes/dependencies are needed), more efficient, or more type-safe (thanks to parametric polymorphism and type-inference).
Yannis Smaragdakis, Brian McNamara
Added 23 Dec 2010
Updated 23 Dec 2010
Type Journal
Year 2002
Where SPE
Authors Yannis Smaragdakis, Brian McNamara
Comments (0)