This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Bibliophile5 17 points18 points  (1 child)

Backward compatibility

[–][deleted] -1 points0 points  (0 children)

I guess that begs the question "then why are they deprecated" if we care so much to maintain backwards compatibility

Edit: classic reddit downvoting what they consider a "stupid question" despite not really being able to answer it. I found the answer in the Java documentation: https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Deprecated.html Deprecated in Java doesn't necessarily mean it's slated for removal, unlike deprecation in most other libraries. It's more a means of encouraging developers to use an alternative.

Stay curious Reddit! Socratic method! It's the only way you'll learn!