For all of my programming life, I've always used the following notation style in my code:
n < 10
"".length == 0
ptr != NULL
etc.
In other words, I put the variable on the left of the comparison, and the constant on the right.
Recently, I've noticed - here on stackoverflow and it some third party code - people doing the opposite:
10 > n
0 == "".length
NULL != ptr
So my question is, is this simply a completely subjective alternative style that I've just not noticed before, or is there some objective beneficial reason for putting the variable on the left and constant on the right?