Quantcast
Channel: Scratch Where It's Itching
Viewing all articles
Browse latest Browse all 73

Am I Null?

$
0
0
If Shakespeare were a developer, his Hamlet class' comparison method would probably contain these lines :
        if (obj == null)            return (this == null);

Found in our production code. The Java equivalent of "To be or not to be [null]".


Viewing all articles
Browse latest Browse all 73

Trending Articles