Study on Improving the Development of a Triangle Geometry Computer Application Using Design Patterns
Designing object-oriented software is challenging, and designing reusable object-oriented software is considerably more difficult. The design must be tailored to the challenge at hand while still being generic enough to address future requirements. Design is perhaps the most critical issue that can affect the quality of an interactive computer programme when it is being developed. Fortunately, there are a variety of design patterns available that can be applied to tackle a broad problem. Design models are used to depict the solutions of skilled architects. As a result, all design model in the oriented object programming paradigm aims to solve a specific design problem. The goal of this project is to develop an interactive computer programme that may be used to understand triangle geometry. The “Factory” creational pattern and the “Observer” behavioural pattern are used to improve the design of the computer programme. The factory pattern connects parallel class hierarchies, allowing information of which classes belong together to be localised. The most significant benefit of employing the observer pattern is that it greatly simplifies programming tasks. The implementation is carried out using the Java programming language, which is a platform-independent language. Triangle geometry computer applications benefit from the adoption of these two design patterns in terms of development, extensibility, and reusability.
Author (S) Details
Department of Computer Science, Faculty of Automation and Computer Science, Technical University of Cluj-Napoca, Romania.
View Book :- https://stm.bookpi.org/CTMCS-V3/article/view/2048