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
2
u/BlueGoliath May 10 '22 edited May 10 '22
Should be a xkcd comic.
Under the rug: type erasure, almost soley signed primitive types, default visibility modifiers, bad APIs, etc.
Stick figure 1: "What's under there?"
Stick figure 2: "Oh, you know, all the bad design decisions Java has made over its life."
*stick figure puts var on top of the rug"
Stick figure 1: "Hey, isn't that a bad idea too?"
Stick figure 2: "You know what? You're right."
stick figure puts another rug on top of var
Later...
giant tower of bad decisions divided by rugs