Lambda the Ultimate

inactiveTopic Catching more errors at compile time with Generic Java
started 4/4/2001; 12:40:36 PM - last post 4/4/2001; 12:40:36 PM
Ehud Lamm - Catching more errors at compile time with Generic Java  blueArrow
4/4/2001; 12:40:36 PM (reads: 692, responses: 0)
Catching more errors at compile time with Generic Java
The current way of implementing generic utility classes, such as Vector and Hashtable, requires many unsightly casts, which may cause run-time errors. Parametric types provide an elegant way to implement generic utility classes that alleviates the need to cast and allows more errors to be caught at compile time. Generic Java is a proposal to add parametric types to the Java language that supports legacy code and pre-existing Java virtual machines.

Another take on adding genericity to Java (a subject raised here quite often). Talks about GJ (the successor of Pizza).

There was a disccion of this paper on JavaLobby.


(JSR #000014 - Add Generic Types to the JavaTM Programming Language, and the votes.)


Posted to Software-Eng by Ehud Lamm on 4/4/01; 12:41:52 PM