Most of us write conditionals like:
if (resultIndex == 0)
...but occaisionally I come across someone writing them like:
if (0 == resultIndex)
...and interestingly those people have been authors and seemingly pretty hot coders.
So why do some people choose the 'backwards' style? Is there some history behind it? Readabililty?
Duplicate: Why does one often see “null != variable” instead of “variable != null” in C#?.