Study on Improving the Development of a Triangle Geometry Computer Application Using Design Patterns

Authors

  • Anca-Elena Iordan Department of Computer Science, Faculty of Automation and Computer Science, Technical University of Cluj-Napoca, Romania.

DOI:

https://doi.org/10.9734/bpi/ctmcs/v3/10325D

Keywords:

Triangle geometry, design patterns, UML, java

Abstract

Object-oriented software design is difficult, and reusable object-oriented software design is even more complicated. The design must be specific to the problem, but also general enough to be able to solve future requirements. In the process of developing an interactive computer application, design represents probably the most important factor that can affect its quality. Propitiously, there are presently various design patterns that can be used to solve a general problem.Competent architects' design solutions are represented through design models.As a result, in the oriented object programming paradigm, any design model seeks to solve a specific design issue. The purpose of this work is to propose an interactive computer application that can be utilised in the study of triangle geometry. The design of the computer application is improved by using of the "Factory" creational pattern and “Observer” behavioural pattern. The use of factory pattern binds parallel class hierarchies such that it can localize the knowledge of which classes belong together. The most important advantage of using observer pattern is that this template simplifies programming work considerably. The implementation is accomplished through the Java programming language which is an independent platform. The use of these two design patterns improves development, extensibility and reusability of triangle geometry computer application.

Published

2021-06-29

How to Cite

Anca-Elena Iordan. (2021). Study on Improving the Development of a Triangle Geometry Computer Application Using Design Patterns. Current Topics on Mathematics and Computer Science Vol. 3, 72–82. https://doi.org/10.9734/bpi/ctmcs/v3/10325D