Functional Programming at Work in Object- Oriented Programming

By: Ph. Narbel


The mix of FP and OOP may generate difficulties, which can be summed up into two questions: where do we locate and implement individual functions in an OOP architecture? How do we relate individual functions to an OOP architecture? This is what we call here the FP-OOP design granularity mismatch. Note that this problem mainly holds in the explicit statically typed and “classes-are-also-modules” OO languages, like in Java, C++, C# and Eiffel.

Cite as:

Ph. Narbel, “Functional Programming at Work in Object- Oriented Programming”, Journal of Object Technology, Volume 8, no. 6 (September 2009), pp. 181-209, doi:10.5381/jot.2009.8.6.a5.

PDF | HTML | DOI | BiBTeX | Tweet this | Post to CiteULike | Share on LinkedIn