• Home
  • Search
  • Object-Oriented vs Functional Programming: What I Learned Using Both
  • https://doi.org/10.63282/3050-9246.ijetcsit-v1i3p105Copy DOI Icon

Object-Oriented vs Functional Programming: What I Learned Using Both

  • Abstract
  • Literature Map
  • Similar Papers
Abstract

I investigated how each paradigm shapes code writing, problem-solving, and system conceptualization by interacting with both Object-Oriented Programming (OOP) and Functional Programming (FP) across my programming career. This article shows my actual experience running actual world projects using both approaches, therefore highlighting the main differences and surprising parallels between both. Object-oriented programming helped me to find more comfort in depicting these systems as a collection of interacting these things, each with state and behavior ideal for uses that change with time. Conversely, functional programming offered a fresh approach by stressing immutability, pure functions, and composability, which proved great effectiveness in these environments needing scalability, predictability, and testability. The change between paradigms required not just a change in syntax or tools but also a basic intellectual revolution from a concentration on "entities that perform" to "entities that exist." As I worked on several projectsdeveloping interfaces, doing data transformations, and managing these application statesthe benefits and the disadvantages of each method were clear. While functional programming excelled at simplifying logic and avoiding these mistakes in data-intensive tasks, object-oriented programming typically helped the conception and growth of many complex systemsespecially in cooperative contexts. This experience helps one to realize that the suitable paradigm depends on the context: project goals, team capabilities, and system requirements. Choosing a side is not as important as realizing whether to use OOP's structure or FP's clarity, which will produce more polished and under control code. This essay offers a specific, personal view on negotiating several worlds and clarifies how understanding both could improve a developer's flexibility and awareness

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
  • Book Chapter
  • Citations3

Typed object-oriented functional programming with late binding

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

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

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

Generic programming with combinators and objects

  • Oct 01, 2021
  • Scientific and Technical Journal of Information Technologies, Mechanics and Optics
  • D.S Kosarev +1
  • Journal Issue

Proceedings Second Workshop on Trends in Functional Programming In Education

  • Dec 08, 2013
  • Electronic Proceedings in Theoretical Computer Science
  • Philip K.F Hölzenspies
  • Book Chapter

Safe and Familiar Multi-core Programming by Means of a Hybrid Functional and Imperative Language

  • Jan 01, 2010
  • Ronald Veldema +1
  • Research Article
  • Citations1

Implementing functional languages on object-oriented virtual machines

  • Jan 01, 2004
  • IEE Proceedings - Software
  • N Perry +1
  • Book Chapter
  • Citations33

The Swift Programming Language

  • Jan 01, 2015
  • James Goodwill +1
  • Book Chapter

Object-Oriented Modeling

  • Jan 01, 2022
  • David Pollak +2
  • Book Chapter
  • Citations42

Spores: A Type-Based Foundation for Closures in the Age of Concurrency and Distribution

  • Jan 01, 2014
  • Heather Miller +2
  • Research Article
  • Citations17

Compiling scala for the Java virtual machine

  • Jan 01, 2005
  • Infoscience (Ecole Polytechnique Fédérale de Lausanne)
  • Michel Schinz
  • Research Article
  • Citations19

Compiling Scala for Performance

  • Jan 01, 2010
  • Infoscience (Ecole Polytechnique Fédérale de Lausanne)
  • Iulian Dragos
  • Conference Article
  • Citations1

Trieste: A C++ DSL for Flexible Tree Rewriting

  • Oct 17, 2024
  • Sylvan Clebsch +4
  • Conference Article

Making images by hand and by code

  • Mar 06, 2013
  • Chukwunweike T Abuah +10
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.