Tag Archives: reverse equals
Reverse Equals in Java .. a dangerous technique
A very common practise in Java-land is to have the constant on the left hand side of an equality statement. Usually the constant is a string, and this constant is being compared to some other object, or method call on … Continue reading
Posted in Uncategorized
Tagged exception, java, nullpointer, nullpointerexception, reverse equals, yoda
Leave a comment