Notification Oriented Paradigm (NOP) and Object Oriented Paradigm (OOP): A comparative study by means of a Sale Order System
Fecha
2013-10Autor
Ferreira, Cleverson Avelino
Simão, Jean M.
Stadzisz, Paulo Cézar
Batista, Márcio V.
Metadatos
Mostrar el registro completo del ítemResumen
This paper presents a comparative study between Notification Oriented Paradigm (NOP) and Object
Oriented Paradigm (OOP) by means as an experiment. The OOP has problems which can lead the developers to build
systems with low quality. These problems are related to unnecessary casual expressions evaluation (i.e. if-then
statements or similar) and higher software entity coupling. In this context, Notification-Oriented Paradigm (NOP)
presents an alternative for those issues. NOP proposes another way to structure software and make its inference, which
is based on small, collaborative, and decoupled computational entities whose interaction happens through precise
notifications. This paper presents a quantitative comparison, time evaluation performance, between two equivalent
versions of a sale system, one developed according to the principles of OOP in C++ and another developed according
to the principles of NOP based on a current NOP framework over C++. The experiment results have shown that OOP
version has obtained better runtime perform-ance than NOP implementation. This happened because the NOP
framework uses considerable expensive data-structures over C++. Thus, it is necessary a real compiler to NOP or at
least a highly optimized NOP framework in order to use its potentiality indeed. Besides, in a scenario variation of
approvable causal expressions, the experiment results have shown an increase in the number of causal expression
unnecessary evaluated in OOP version, whereas the NOP version does not present unnecessary causal expression
evaluation. Indeed, by definition, NOP application does not waste execution time unnecessarily evaluating causal
expressions.