<p>What is the difference between </p>

<pre><code>if(null==object)
</code></pre>

<p>and </p>

<pre><code>if(object==null)
</code></pre>

<p>Please give the advantage for using the above.</p>

The difference comes if you accidentally type
```
=
```
instead of
```
==
```
:
```
if (null = object)
```
- Compiler error
```
if (object = null)
```
- Bug!