C# Programming
07-03-2009, 03:40 AM
A lot of code I have come across recently has
If (null == something)
whereas I tend to write
if (something == null)
which seems to me to be much more logical and easily readable -
So the question is, is there a good reason for using the former over the latter?
___________________________________________
.\\axxx
(That's an 'M')
If (null == something)
whereas I tend to write
if (something == null)
which seems to me to be much more logical and easily readable -
So the question is, is there a good reason for using the former over the latter?
___________________________________________
.\\axxx
(That's an 'M')