Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Java generics

Name: Anonymous 2007-01-25 3:56

I'm having a really hard time using generics in Java. Why are they so damn confusing? Real generics aren't this hard. Can someone break this down and explain this to me?

Name: Anonymous 2007-01-26 5:00

>>9

If you're just doing generic data structures, they're basically the same.  However, that's all Java can do.  C++ templates can do much, much more as they provide a general way to write "code that writes code" through metaprogramming.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List