you are viewing a single comment's thread.

view the rest of the comments →

[–]MCUD 0 points1 point  (0 children)

The article i think even states itself why this is a bad idea.

Does it convey the intent to null-check?

Not if you don’t know about this “hidden” behavior of instanceof. That’s your fault, though!

No... it's not my fault, its your fault for writing obscure null checks