• Home
  • Search
  • Functional Programming at Work in Object- Oriented Programming.
  • Cite Icon1
  • https://doi.org/10.5381/jot.2009.8.6.a5Copy DOI Icon

Functional Programming at Work in Object- Oriented Programming.

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

This paper is a synthesis about why and how some functional programming (FP) can be helpful from a program design point-of-view within mainstream object-oriented programming (OOP). We first introduce criteria to ensure that FP-oriented features give an effective functional/method granularity design level within OOP. Next, we list up and discuss the general techniques and design consequences of having such FP capabilities in OOP, i.e. code abstraction/factoring at a function level, generic iterator/loop implementations, operation compositions, sequence comprehensions, partial application and currying, reduction of the number of class definitions, name abstractions, and function-based structural compatibilities. We also stress some of the difficulties of blending FP constructs with OOP, by pointing out potential problems related to design granularity mismatch, architecture non-uniformity and datatype incoherences. Several classic OOP design patterns are analyzed, since FP techniques make alternative implementations manageable: basic cases like Strategies, Commands and Observers, but also Proxies (using functional-based evaluation control) and Visitors (using functional data-driven programming). This synthesis is illustrated with C# 3.0 which offers effective FP-oriented features – based on delegates –, but also by using comparisons with other cross-paradigm languages.

Similar Papers
  • Research Article
  • Citations14

Should ML be Object-Oriented?

  • Jul 01, 2002
  • Formal Aspects of Computing
  • David Macqueen
  • Supplementary Content

Co-Contextual Type Systems: Contextless Deductive Reasoning for Correct Incremental Type Checking

  • Mar 02, 2020
  • TUbilio (Technical University of Darmstadt)
  • Edlira Kuci
  • Research Article
  • Citations39

Object-Oriented Programming, Functional Programming and R

  • May 01, 2014
  • Statistical Science
  • John M Chambers
  • Conference Article
  • Citations6

Comparative analysis of functional and object-oriented programming

  • May 01, 2016
  • Dino Alic +2
  • Single Book
  • Citations395

Modern Compiler Implementation in C

  • Dec 13, 1997
  • Andrew W Appel +1
  • Book Chapter
  • Citations3

Typed object-oriented functional programming with late binding

  • Jan 01, 1996
  • Zhenyu Qian +1
  • Conference Article
  • Citations1

Functional programming, object-oriented programming and algebras!

  • Aug 26, 2014
  • Bruno C.D.S Oliveira
  • Conference Article
  • Citations1

Developing a monadic type checker for an object-oriented language: an experience report

  • Oct 20, 2019
  • Elias Castegren +1
  • Research Article
  • Citations3

A Comparative Study of Object-Oriented, Procedural, and Functional Programming Paradigms in Microservice Architecture

  • Sep 24, 2025
  • VFAST Transactions on Software Engineering
  • Mustafa Ahmed Khan +5
  • Research Article

Introduction to Functional Classes in CS1

  • Jul 26, 2022
  • Electronic Proceedings in Theoretical Computer Science
  • Marco T Morazán
  • Book Chapter

Chapter 18 - Programs

  • Jan 01, 2009
  • Mathematica Navigator
  • Heikki Ruskeepää
  • Conference Article
  • Citations6

Functional programming at Facebook

  • Sep 04, 2009
  • Christopher Piro +1
  • Conference Article

On Theory of Names to be Used in Semantics of References in Functional and Object-Oriented Languages

  • Jan 01, 2021
  • Naučnyj servis v seti internet
  • Alexei Igorevich Adamovich +1
  • Research Article
  • Citations3

On complementary principles of object-oriented constraint programming

  • Sep 01, 2010
  • Programming and Computer Software
  • V A Semenov +4
  • Research Article
  • Citations1

ПОРІВНЯННЯ ОБ’ЄКТНО-ОРІЄНТОВАНОЇ ТА ФУНКЦІЙНОЇ ПАРАДИГМ ПРОГРАМУВАННЯ У ПРОЕКТУВАННІ ПРОГРАМНОГО ЗАБЕЗПЕЧЕННЯ

  • Jul 02, 2021
  • Herald of Khmelnytskyi National University Technical sciences
  • Andriy Koval +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.