Rationale for the design of the Ada programming language
Rationale for the design of the Ada programming language
The design and evolution of C++
The design and evolution of C++
CLU Reference Manual
C++ Templates
A comparative study of language support for generic programming
OOPSLA '03 Proceedings of the 18th annual ACM SIGPLAN conference on Object-oriented programing, systems, languages, and applications
Implementation implications of Ada generics
ACM SIGAda Ada Letters
Java(TM) Language Specification, The (3rd Edition) (Java (Addison-Wesley))
Java(TM) Language Specification, The (3rd Edition) (Java (Addison-Wesley))
Java(TM) Programming Language, The (4th Edition)
Java(TM) Programming Language, The (4th Edition)
Java Generics and Collections
Java In A Nutshell, 5th Edition
Java In A Nutshell, 5th Edition
Hi-index | 0.00 |
Generics (also known as templates) have become a standard feature of modern programming languages, offering parameterization by data types and possibly other entities. Generics support efficient type-safe container data structures, general-purpose algorithms, and other reusable components. However, the approaches in different languages vary widely in syntax, semantics, and usage. This paper summarizes the design of generics in Ada, C++, C#, and Java and compares them with respect to expressiveness, implementation model / run-time efficiency, and interaction with object-oriented programming and other features.