![]()
AMBIENTUM BIOETHICA BIOLOGIA CHEMIA DIGITALIA DRAMATICA EDUCATIO ARTIS GYMNAST. ENGINEERING EPHEMERIDES EUROPAEA GEOGRAPHIA GEOLOGIA HISTORIA HISTORIA ARTIUM INFORMATICA IURISPRUDENTIA MATHEMATICA MUSICA NEGOTIA OECONOMICA PHILOLOGIA PHILOSOPHIA PHYSICA POLITICA PSYCHOLOGIA-PAEDAGOGIA SOCIOLOGIA THEOLOGIA CATHOLICA THEOLOGIA CATHOLICA LATIN THEOLOGIA GR.-CATH. VARAD THEOLOGIA ORTHODOXA THEOLOGIA REF. TRANSYLVAN
|
|||||||
Rezumat articol ediţie STUDIA UNIVERSITATIS BABEŞ-BOLYAI În partea de jos este prezentat rezumatul articolului selectat. Pentru revenire la cuprinsul ediţiei din care face parte acest articol, se accesează linkul din titlu. Pentru vizualizarea tuturor articolelor din arhivă la care este autor/coautor unul din autorii de mai jos, se accesează linkul din numele autorului. |
|||||||
STUDIA INFORMATICA - Ediţia nr.4 din 2011 | |||||||
Articol: |
ON USING GENERICS FOR IMPLEMENTING ALGEBRAIC STRUCTURES. Autori: VIRGINIA NICULESCU. |
||||||
Rezumat: Object oriented programming and design patterns form a very good framework for implementing a computational algebra system. Object oriented programming offers different kinds of mechanisms for obtaining high level of genericity; and these are also mechanisms for reusing.The need to represent and work with abstract algebraic structures implies the need for genericity. This could be achieved by using parametric polymorphism or type polymorphism. We analyze in this article the suitability of using parametric polymorphism, in an object-oriented programming context, for implementation of algebraic structures, showing some advantages but also some problems. The implementation issues are discussed for the particular case of the square matrices of a certain order.The analysis emphasizes also general advantages of using parametric types - such as type safety, but also some constrains forced by them. Key words and phrases. genericity, OOP, templates, patterns, algebraic structures, abstractness. |
|||||||
![]() |
|||||||
![]() |