Initialize a double and it's getter
<p>What  benefits has the following?</p>

<pre><code>private double pro;
pro = Double.NaN;
</code></pre>

<p>Why not make it </p>

<pre><code>pro = 0.0;
</code></pre>

<p>the getter is:</p>

<pre><code>public double getpro() {
    if (Double.isNaN(pro))
        somemethod();
    return pro;
}
</code></pre>
