Tag Archives: reverse equals

Yoda conditions 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 , , , , , | Leave a comment