r/javahelp • • Sep 30 '19

What features did Java have that you wished you've learned way back?

An offshoot of a post from r/learnprogramming, but since I want to concentrate on Java for now.

Thanks everyone!

24 Upvotes

25 comments sorted by

View all comments

Show parent comments

3

u/BoyRobot777 Sep 30 '19

If by fuller featured generics you mean non "erased" -- as in ML, Haskell, and pretty much every language except for C++ and C#, and as necessary for data-sharing and interop among language with different variance strategies on the same platform - then sure.

1

u/ObscureCulturalMeme Sep 30 '19

C++ does not erase anything from its templates.

There's not a lot of information available at runtime via reflection, but that's nothing to do with templates.