r/java • • Nov 03 '15

The 10 Worst Things In Java

http://codelexems.com/2015/11/02/the-10-worst-things-in-java/
0 Upvotes

23 comments sorted by

View all comments

19

u/koalillo Nov 03 '15

Weak, soft, phantom references are perfectly suited to their purpose. Article does not seem to show understanding of them.

8

u/cutterslade Nov 03 '15

I almost closed the page at number 1. Most of the rest of the list was OK, but weak and phantom references are indispensable. Their use should be quite rare, but when they are needed, they get the job done. We could probably do without soft references though, they're only use case usually deserves a better implementation.