Functional vs. Object-Oriented: Comparing How Programming Paradigms Affect the Architectural Characteristics of Systems DOI: XXXXXXX.XXXXXXX Conference: Brazilian Symposium on Software Quality; Nov 04–07, 2025; São José dos Campos, SP CCS: Software and its engineering Functional languages CCS: Softw
Briza Mel Dias, Renato Cordeiro Ferreira, Alfredo Goldman · 2025
Read Functional vs. Object-Oriented: Comparing How Programming Paradigms Affect the Architectural Characteristics of Systems DOI: XXXXXXX.XXXXXXX Conference: Brazilian Symposium on Software Quality; Nov 04–07, 2025; São José dos Campos, SP CCS: Software and its engineering Functional languages CCS: Softw by Briza Mel Dias, Renato Cordeiro Ferreira, Alfredo Goldman (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2508-00244.txt.
Introduction
Dias de Sousa, Ferreira, and Goldman compare two coding styles on one wallet app in a 2025 study. The app, a digital wallet, was built twice: once in object-oriented style in Kotlin, once in functional style in Scala. The team mixed two lenses: their own notes as builders, and a survey of outside developers who read both versions.
Side-by-side notes map how each style shapes the app's structure. Reader replies add how the code feels to work with from the outside. The authors hope the paired view helps teams pick a style for their next project. Results speak to architecture traits like change cost and clarity rather than raw speed.
Catalog record
| CREATOR | Briza Mel Dias, Renato Cordeiro Ferreira, Alfredo Goldman |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 39 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2508-00244
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Functional vs. Object-Oriented: Comparing How Programming Paradigms Affect the Architectural Characteristics of Systems DOI: XXXXXXX.XXXXXXX Conference: Brazilian Symposium on Software Quality; Nov 04–07, 2025; São José dos Campos, SP CCS: Software and its engineering Functional languages CCS: Software and its engineering Object oriented languages CCS: Software and its engineering Software usability CCS: Software and its engineering Software reliability CCS: Software and its engineering Software fault tolerance Briza Mel Dias, Renato Cordeiro Ferreira, Alfredo Goldman Abstract . After decades of dominance by object-oriented programming (OOP), functional programming (FP) is gaining increasing attention in the software industry ( Finley 2022 ) . This study compares the impact of OOP and FP on the architectural characteristics of software systems. For that, it examines the design and implementation of a Digital Wallet system, developed in Kotlin (representing OOP) and Scala (representing FP). The comparison is made through both qualitative and quantitative analyses to explore how each paradigm influences the system’s architectural characteristics. The self-ethnographic qualitative analysis provides a side-by-side comparison of both implementations, revealing the perspective of those writing such code. The survey-based quantitative analysis gathers feedback from developers with diverse backgrounds, showing their impressions of those reading this code. Hopefully, these results may be useful for developers or organizations seeking to make more informed decisions about which paradigm is best suited for their next project. putKotlin putScala ⬇ %% %% This is file ‘ rename - to - empty - base . tex ’, %% generated with the docstrip utility . %% %% The original source files were : %% %% fileerr . dtx ( with options : ‘ return ’) %% %% This is a generated file . %% %% The source is maintained by the LaTeX Project team and bug %% reports for it can be opened at https :// latex - project . org / bugs / %% ( but please observe conditions on bug reports sent to that address !) %% %% %% Copyright ( C ) 1993-2025 %% The LaTeX Project and any individual authors listed elsewhere %% in this file . %% %% This file was generated from file ( s ) of the Standard LaTeX ‘ Tools Bundle ’. %% ————————————————————————– %% %% It may be distributed and / or modified under the %% conditions of the LaTeX Project Public License , either version 1.3 c %% of this license or ( at your option ) any later version . %% The latest version of this license is in %% https :// www . latex - project . org / lppl . txt %% and version 1.3 c or later is part of all distributions of LaTeX %% version 2005/12/01 or later . %% %% This file may only be distributed together with a copy of the LaTeX %% ‘ Tools Bundle ’. You may however distribute the LaTeX ‘ Tools Bundle ’ %% without such generated files . %% %% The list of all files belonging to the LaTeX ‘ Tools Bundle ’ is %% given in the file ‘ manifest . txt ’. %% \ message { File ignored } \ endinput %% %% End of file ‘ rename - to - empty - base . tex ’. 1. Introduction After decades of dominance of Object Oriented Programming (OOP), the Functional Programming (FP) paradigm has gained significant attention in the software industry ( Finley 2022 ) . This shift is a response to growing complexities in software systems, the demand for better scalability, and the need for more predictable, robust, and maintainable codebases. According to the IEEE Spectrum magazine in 2022 ( Scalfani 2022 ) , one of the clearest indications of this shift is the increasing incorporation of functional features into different mainstream programming languages. Evaluating how FP compares to OOP is essential to understand the future of software development. This research aims to contribute with insights into how OOP and FP influence the architectural characteristics of software systems . Hopefully, this can help developers and organizations deciding on which paradigms is best suited for their projects. 2. Research Questions The main research question of this paper can be summarized as: RQ1: How do the functional and object-oriented paradigms impact different architectural characteristics of a system? According to Richards and Ford 2020 ( Richards and Ford 2020 ) , an architectural characteristic describes a concern that follow three criteria: (1) It specifies a non-domain design consideration. (2) It influences structural aspects of the design. (3) It is critical or important to the application success. Section 2 aims to understand the differences that arise when the same system is developed under different paradigms. In particular, this research focused on six architectural characteristics, summarized in table 1 . They encompass concerns that highlight important differences between the paradigms, facilitating the evaluation of their strengths and limitations in various aspects of software development. Table 1. Evaluation Criteria for Qualitative Analysis Architectural Characteristic From the code, how easy it is to… Extensibility …add new behavior Reusability …apply it in a new use case Error Handling …understand errors handled by it Error Propagation …understand errors propagated by it Testability …test its intended behavior Readability …understand its intended behavior During the capstone project this research is based on, section 2 was divided in five research sub-questions based on the architectural characteristics from table 1 . Considering space constraints, this paper focuses on only three of them, whose answers brought the most interesting discussions detailed in section 9 . RQ1.1: How do functional and object-oriented paradigms impact the extensibility of a system? Section 2 aims to explore how each paradigm influences the ability to add new components to the system. OOP typically relies on object composition and class inheritance, while FP uses high-order functions and generic data structures. RQ1.2: How do functional and object-oriented paradigms impact the reusability of a system? Section 2 aims to explore how each paradigm influences the ability to reuse components in the system. OOP typically relies on design patterns that take advantage of polymorphism, while FP combines list-based immutable data types with closures and recursion. RQ1.3: How do the functional and object-oriented paradigms impact error handling / propagation of a system? Section 2 aims to explore how each paradigm embodies distinct philosophies in error management. OOP typically uses exceptions, while FP applies monadic types. 3. Methodology This section details the research methodology employed in this project, whose goal is to answer section 2 . 3.1. Proof of Concept The first phase of the research consists of the specification and development of a proof-of-concept system that can be used as an object of study. This provides a detailed example for comparing the object-oriented and functional paradigms. A Digital Wallet was chosen as the proof-of-concept system for this research. It contains many functionalities, such as wallet management, transaction management, and calculation of balances. These operations demand intricate data handling to keep consistency, whose implementation can be approached differently within the object-oriented and functional paradigms. To compare the paradigms, the same Digital Wallet system was developed twice , following the good practices of each paradigm. Object-Oriented PoC The object-oriented version of the Digital Wallet system was based on the Kotlin programming language, which supports classic object-oriented principles, such