Preferred way of declaring and converting primitives to strings
<p>I have 3 options:</p>

<ol>
<li>Declare <code>double member</code> and later when I have to pass <code>String</code> use <code>member + ""</code>.</li>
<li>Declare <code>double member</code> and later when I have to pass <code>String</code> use <code>Double.toString(member)</code>.</li>
<li>Declare <code>Double member = 0.0</code> and later when I have to pass <code>String</code> use <code>member.toString()</code>.</li>
</ol>

<p>My opinions:</p>

<ol>
<li>The shortest one. However, <code>member + ""</code> will be converted to <code>new StringBuilder().append(member).append("").toString()</code>, which seems not elegant.</li>
<li>In <code>Double.toString(member)</code> I don't like that it doesn't start from the word <code>member</code>, which is the most important. We only need to convert it. It's better if <code>member</code> is in the beginning, because I pay most attention to the beginning of word. Quick glance and I know "ah, ok I'm passing member". And with <code>Double.toString(member)</code> my very first concentration goes to "ah, ok... a Double, we are doing toString... of a member! Ah ok".</li>
<li><code>member.toString()</code> looks fine and it can be typed even faster then + "", because of autocompletion in Eclipse. However, objects are much slower then primitives. <a href="http://simononsoftware.com/primitives-and-objects-benchmark-in-java/" rel="nofollow">Reference.</a></li>
</ol>

<p><strong>What is the best option?</strong> Maybe there are some other options?</p>
