Preprint Article Version 1 Preserved in Portico This version is not peer-reviewed

Puzzle Pattern, a Systematic Approach to Multiple Behavioral Inheritance Implementation in OOP

Version 1 : Received: 1 May 2024 / Approved: 2 May 2024 / Online: 2 May 2024 (08:04:25 CEST)

How to cite: Fallucchi, F.; Gozzi, M. Puzzle Pattern, a Systematic Approach to Multiple Behavioral Inheritance Implementation in OOP. Preprints 2024, 2024050104. https://doi.org/10.20944/preprints202405.0104.v1 Fallucchi, F.; Gozzi, M. Puzzle Pattern, a Systematic Approach to Multiple Behavioral Inheritance Implementation in OOP. Preprints 2024, 2024050104. https://doi.org/10.20944/preprints202405.0104.v1

Abstract

Object-Oriented Programming (OOP) has long been a dominant paradigm in software development, but it's not without its challenges. One major issue is the problem of tight coupling between objects, which can hinder flexibility and make it difficult to modify or extend code. Additionally, the complexity of managing inheritance hierarchies can lead to rigid and fragile designs, making it hard to maintain and evolve the software over time. This paper introduces a software development pattern that seeks to offer a renewed approach to writing code in Object-Oriented (OO) environments. Addressing some of the limitations of the traditional approach, the Puzzle Pattern focuses on extreme modularity, favoring writing code exclusively in interfaces. Concrete classes are subsequently assembled through the implementation of those interfaces, reducing coupling and introducing a new level of flexibility and adaptability in software construction. The highlighted pattern offers significant benefits in software development, promoting extreme modularity through interface-based coding, enhancing adaptability via multiple inheritance, and upholding the SOLID principles, though it may pose challenges such as complexity and a learning curve for teams.

Keywords

software engineering; software pattern; object oriented programming

Subject

Computer Science and Mathematics, Computer Science

Comments (0)

We encourage comments and feedback from a broad range of readers. See criteria for comments and our Diversity statement.

Leave a public comment
Send a private comment to the author(s)
* All users must log in before leaving a comment
Views 0
Downloads 0
Comments 0
Metrics 0


×
Alerts
Notify me about updates to this article or when a peer-reviewed version is published.
We use cookies on our website to ensure you get the best experience.
Read more about our cookies here.