logoalt Hacker News

AdieuToLogictoday at 12:59 AM1 replyview on HN

> You almost never see a list of banned Java features ...

The instanceof[0] operator is typically banned from use in application code and often frowned upon in library implementations.

0 - https://docs.oracle.com/javase/specs/jls/se7/html/jls-15.htm...


Replies

twictoday at 1:14 AM

I've never heard of that being banned. It hasn't been banned anywhere i've written Java.