title: Nested if statements and "&&" operator
body: <pre><code>if(a() &amp;&amp; b() &amp;&amp; c() &amp;&amp; d())
     doSomething();
  
  
  if(a())
     if(b()) 
        if(c())
           if(d())
              doSomething();
  </code></pre>
  
  <p>Is there "any" performance difference between these two?</p>
  
  <p>For example, in a situation that a() turns 0, will it keep running b(), c() and d() in the first if statement? Or will it work same as the second nested if statement?</p>