Fun with Generics
Submitted by Bernd Schoeller on Tue, 06/17/2008 - 20:45.Intro
We all know about generics as a wonderful help to implement container data structures like lists, sets, bags etc. Much later than Eiffel, object-oriented programming languages like Java and C# have understood that generic parameters are a powerful extension to the type system and remove the need for many casts. So, what else can we do with generics beyond containers?
