title: Which code style is better in terms of readability and performance?
body: <p>I am wondering which code style is better for</p>
  <ol>
  <li>human readability</li>
  <li>program performance</li>
  </ol>
  <p>Let's imagine we have 2 functions:</p>
  <pre><code>// first one
  void foo(void) {
      if (error)
          exit(1);
      ....
  }
  
  // second one
  void bar(void) {
      if (!error) {
          ....
      }
      else
          exit(1);
  }
  </code></pre>
  <p>Both of them work in the same way in terms of execution, but which code style is preferable?</p>