Content area

Abstract

Featured Application

This software design pattern can be used in OOP programming in order to promote conceptual clarity, reduce coupling, and facilitate system scalability.

Abstract

Object-oriented programming (OOP) has long been a dominant paradigm in software development, but it is 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 building blocks that do not possess a state (e.g., Java interfaces that support concrete methods definitions in interfaces starting from version 8). 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.

Details

1009240
Business indexing term
Title
Puzzle Pattern, a Systematic Approach to Multiple Behavioral Inheritance Implementation in Object-Oriented Programming
Author
Fallucchi, Francesca 1   VIAFID ORCID Logo  ; Gozzi, Manuel 2   VIAFID ORCID Logo 

 Department of Engineering Sciences, Guglielmo Marconi University, 00193 Roma, Italy; [email protected]; Leibniz Institute for Educational Media, Georg Eckert Institute, Freisestraße 1, 38118 Braunschweig, Germany 
 Department of Engineering Sciences, Guglielmo Marconi University, 00193 Roma, Italy; [email protected] 
Publication title
Volume
14
Issue
12
First page
5083
Publication year
2024
Publication date
2024
Publisher
MDPI AG
Place of publication
Basel
Country of publication
Switzerland
Publication subject
e-ISSN
20763417
Source type
Scholarly Journal
Language of publication
English
Document type
Journal Article
Publication history
 
 
Online publication date
2024-06-11
Milestone dates
2024-04-30 (Received); 2024-06-10 (Accepted)
Publication history
 
 
   First posting date
11 Jun 2024
ProQuest document ID
3072252234
Document URL
https://www.proquest.com/scholarly-journals/puzzle-pattern-systematic-approach-multiple/docview/3072252234/se-2?accountid=208611
Copyright
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Last updated
2024-06-26
Database
ProQuest One Academic