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?
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.