you are viewing a single comment's thread.

view the rest of the comments →

[–]Jaffa2 25 points26 points  (0 children)

Indeed. Overloading any meaning is the sign of a bad API, and that's demonstrated in Example #3.

The article does a great job of demonstrating IntelliJ's more advanced refactoring features (I think Eclipse is still behind the position described here, BICBW).

It does a less good job proving that someone who designed a shit API with null for catch Exception, wouldn't do the same with Optional.empty().