A Comparative Study of Object-Oriented, Procedural, and Functional Programming Paradigms in Microservice Architecture
DOI:
https://doi.org/10.21015/vtse.v13i3.2216Abstract
It is noted here that the microservices architecture has changed the whole paradigm of software engineering so that it permits building systems that could be distributed, scalable, and maintainable. Object-Oriented Programming (OOP) still dominates the design paradigms in industry. However, there has been revived interest in evaluating it in light of Procedural Programming (PP) and Functional Programming (FP) paradigms with respect to the evolving nature of software architecture. This paper covers a comprehensive comparative analysis of these three paradigm types in relation to microservice-based system design. In this case, each of the paradigms is applied in almost the exact architectural requirements upon a real-world e-commerce domain model, and finally, the evaluation was made on the basis of modularity, scalability, maintainability, and operational efficiency. Our finding is that, although OOP provides a balanced mix between abstraction and modularity beneficial for service-based architecture, FP is about minimizing mutable state through immutability and pure functions; hence the reduction of race conditions and making concurrency safer in distributed environments. Procedural programming is quite efficient for small-scale operations, but it faces serious hurdles in establishing service modularization and maintainability. In terms of such an ideal model supported by the current literature (2020-2025). This paper argues that OOP will be the most relevant paradigm for microservices, with Functional Programming reaping its benefits and promising alternatives for cloud-native or event-driven scenarios. In conclusion, this study narrates the call for hybrid approaches-the approaches that will utilize the strength of all paradigms to fulfill the ever-evolving software needs.
References
I. Ahmed and S. Rehman, “A study on object-oriented design principles and patterns,” ResearchGate, 2023. [Online]. Available: https://www.researchgate.net/publication/365683164
D. Patel et al., “Survey on concept of object-oriented programming,” ResearchGate, 2024. [Online]. Available: https://www.researchgate.net/publication/379681778
A. Kumar and R. Singh, “Object-oriented programming concepts in microservices,” arXiv preprint, 2023. [Online]. Available: https://arxiv.org/abs/2306.01819
T. Iqbal and A. Hussain, “Navigating memory management and security in OOP: A comparative study of Java and Python,” ResearchGate, 2024. [Online]. Available: https://www.researchgate.net/publication/385828420
A. Rehman and K. Shahid, “Object-oriented programming languages comparison: Java, Python, and C,” ResearchGate, 2025. [Online]. Available: https://www.researchgate.net/publication/389180708
M. Ali et al., “Comparative analysis of software paradigms in microservices,” Int. J. Comput. Inf. Technol. (IJCIT), vol. 13, no. 1, pp. 45–58, 2024. [Online]. Available: https://ijcit.com/index.php/ijcit/article/view/294
M. Ali et al., “Comparative analysis of software paradigms in microservices,” Int. J. Comput. Inf. Technol. (IJCIT), vol. 13, no. 1, pp. 45–58, 2024. [Online]. Available: https://ijcit.com/index.php/ijcit/article/view/294
M. Fowler, Patterns of Enterprise Application Architecture. Boston, MA, USA: Addison-Wesley, 2022.
S. Newman, Building Microservices: Designing Fine-Grained Systems. Sebastopol, CA, USA: O’Reilly Media, 2021.
M. Richards and N. Ford, Fundamentals of Software Architecture. Sebastopol, CA, USA: O’Reilly Media, 2020.
S. Abrahão, J. Grundy, M. Pezzè, M.-A. Storey, and D. A. Tamburri, “Software Engineering by and for Humans in an AI Era,” ACM Trans. Softw. Eng. Methodol., vol. 34, no. 5, art. 129, pp. 1–46, Jun. 2025, doi: 10.1145/3715111.
A. Mohan and S. Jayaraman, “Program Execution Summarization by Novel Design Pattern Specification, Detection, and Consolidation Techniques,” Preprint submitted to Elsevier, 2024. [Online]. Available: https://ssrn.com/abstract=5290341
C. O. de Oliveira Junior, J. M. de Carvalho, and A. S. V. de Oliveira, “CALint: a tool for enforcing the Clean Architecture’s constraints,” in Software Technologies: Applications and Foundations – STAF 2022 Workshops, LNCS/CCIS, Springer, 2022, pp. 1–12, doi: 10.1007/978-3-031-10548-7_39.
O. Özkan, Ö. Babur, and M. van den Brand, “Refactoring with domain-driven design in an industrial context—An action research report,” Empir. Softw. Eng., vol. 28, art. 94, 2023, doi: 10.1007/s10664-023-10310-1.
S. Hasheminejad and R. L. Barmaki, “Software design pattern selection approaches: A systematic literature review,” Softw. Pract. Exp., vol. 53, pp. 1091–1122, 2023, doi: 10.1002/spe.3176.
S. Egi and Y. Nishiwaki, “Functional programming in pattern-match-oriented programming style,” ‹Programming› — Research Papers, 2021, doi: 10.22152/programming-journal.org/2020/4/7.
A. Blot and J. Petke, “A comprehensive survey of benchmarks for improvement of software's non-functional properties,” ACM Comput. Surv., vol. 57, no. 7, art. 168, pp. 1–36, Jul. 2025, doi: 10.1145/3711119.
M. Kayuni, “Teaching object-oriented design through interactive UML: A dual-approach framework for code-based generation and direct diagram manipulation,” M.S. thesis, Western Kentucky Univ., 2025. [Online]. Available: https://digitalcommons.wku.edu/theses/3819
M. Söylemez, B. Tekinerdogan, and A. K. Tarhan, “Challenges and solution directions of microservice architectures: A systematic literature review,” Appl. Sci., vol. 12, no. 11, art. 5507, 2022, doi: 10.3390/app12115507.
R. Laigner, Y. Zhou, M. A. V. Salles, Y. Liu, and M. Kalinowski, “Data management in microservices: State of the practice, challenges, and research directions,” Proc. VLDB Endow., 2021, doi: 10.14778/3484224.3484232.
J. Lewis and M. Fowler, “Microservices: A definition of this new architectural term,” 2020. [Online]. Available: https://martinfowler.com/articles/microservices.html
I. K. Aksakalli, A. O. Güner, and M. T. Öcal, “Deployment and communication patterns in microservice systems,” J. Syst. Softw., 2021, art. 111014, doi: 10.1016/j.jss.2021.111014.
A. Katal, P. Prasanna, R. Birla, and Kunal, “Evolution from monolithic to microservices architecture: A new era in software architecture,” in Advancements in Optimization and Nature-Inspired Computing for Solutions in Contemporary Engineering Challenges, D. Rossit, C. E. Torres-Aguilar, and A. A. Toncovich, Eds. Singapore: Springer, 2025, doi: 10.1007/978-981-96-0706-8_12.
T. Zhang et al., “Bridge the islands: Pointer analysis for microservice systems,” Proc. ACM Softw. Eng., vol. 2, ISSTA, art. ISSTA023, pp. 1–23, Jul. 2025, doi: 10.1145/3728896.
Z. Wan, Y. Zhang, X. Xia, Y. Jiang, and D. Lo, “Software architecture in practice: Challenges and opportunities,” in Proc. 31st ACM Joint Eur. Softw. Eng. Conf. & Symp. Found. Softw. Eng. (ESEC/FSE ’23), 2023, pp. 1–22, doi: 10.1145/3611643.3616367.
A. M. Abdelmoniem, S. Abdulah, and W. Atwa, “A novel approach to translate structural aggregation queries to MapReduce code,” Int. J. Comput. Appl., vol. 186, no. 33, pp. 1–10, Jul. 2024.
S. Egi and Y. Nishiwaki, “Functional programming in pattern-match-oriented programming style,” ‹Programming›, 2021, doi: 10.22152/programming-journal.org/2020/4/7.
M. Kanakis et al., “Machine learning for computer systems and networking: A survey,” ACM Comput. Surv., vol. 55, no. 4, art. 71, 2022, doi: 10.1145/3523057.
R. C. Creese et al., “A survey on parallelism and determinism in programming models,” ACM Trans. Program. Lang. Syst., 2022, doi: 10.1145/3564529.
M. S. Pour et al., “A comprehensive survey of recent internet measurement techniques and applications,” Comput. Netw., 2023, doi: 10.1016/j.cose.2023.103123
Downloads
Published
How to Cite
Issue
Section
License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC-By) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
This work is licensed under a Creative Commons Attribution License CC BY