Better programing style?
<p>Which code is better?
Using return() in every condition:</p>

<pre><code>void someProc(String str) {
    if (str.length &lt; 1) {
        log("bad length");
        return();
        }
    if (str.charAt(3) == "N") {
        log("N at 3");
        return();
        }
    parse(str);
}
</code></pre>

<p>or subconditions without return():</p>

<pre><code>void someProc(String str) {
    if (str.length &lt; 1) log("bad length");
    else if (str.charAt(3) == "N") log("N at 3");
    else parse(str);
}
</code></pre>

<p>What is better for perfornance?</p>
