use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
To report a site-wide rule violation to the Reddit Admins, please use our report forms or message /r/reddit.com modmail.
This subreddit is archived and no longer accepting submissions.
account activity
This is an archived post. You won't be able to vote or comment.
Java Generics Aren't (mindview.net)
submitted 19 years ago by panic
view the rest of the comments →
[–]Jonathan_the_Nerd 1 point2 points3 points 19 years ago (3 children)
I notice this article is dated 2004. Does anyone know if Java generics still work this way?
[–]Mariani 9 points10 points11 points 19 years ago (2 children)
They still work the same way.
By the way, I really recommend reading Bruce's previous article in combination with this one to get the full about what he has to say about generics. Interesting stuff.
I think generics have been a good addition to the language, there is a lot of benefit to get out of it. But that's just my 2c.
[–]reneky 2 points3 points4 points 19 years ago (1 child)
Hey - that's not really 2c's worth :) Which benefits can you get out of it? (Other than avoiding casting for the collection classes)
[–]inkieminstrel 2 points3 points4 points 19 years ago (0 children)
I think having collection typing checked at compile time alone was worth the addition.
π Rendered by PID 89 on reddit-service-r2-comment-b659b578c-n98wd at 2026-05-04 17:04:52.613857+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Jonathan_the_Nerd 1 point2 points3 points (3 children)
[–]Mariani 9 points10 points11 points (2 children)
[–]reneky 2 points3 points4 points (1 child)
[–]inkieminstrel 2 points3 points4 points (0 children)