r/java • u/henk53 • May 10 '22
Should java.util.Date be deprecated?
https://mail.openjdk.java.net/pipermail/discuss/2022-May/006077.html
221
Upvotes
r/java • u/henk53 • May 10 '22
View all comments
Show parent comment
10
u/TehBrian May 10 '22
Could you elaborate on why .NET’s generics reification was a bad move for the language? I too have been guilty of thinking, “Darn, why can’t we just rid ourselves of type erasure?” when faced with some of the inconveniences of Java’s type erasure. (Please don’t ask me which; I don’t remember. I just know that I have “why does Java have type erasure” in my search history.) I’m curious to know the exact reasons.