Marshall Schor (JIRA) wrote:
<snip>
One other point - I've grown fond of coding tests against null as "null == otherObject" rather than  the more 
"natural" "otherObject == null" because if I accidently write "=" instead of "==" it 
gives me a compile error :-).

if (otherObject = null)... will raise a compiler error, so no reason to shun the natural order of things.

--Thilo

Reply via email to