title: event.preventDefault() vs. return false
body: <p>When I want to prevent other event handlers from executing after a certain event is fired, I can use one of two techniques. I'll use jQuery in the examples, but this applies to plain-JS as well:</p>
  
  <h3>1. <code>event.preventDefault()</code></h3>
  
  <pre><code>$('a').click(function (e) {
      // custom handling here
      e.preventDefault();
  });
  </code></pre>
  
  <h3>2. <code>return false</code></h3>
  
  <pre><code>$('a').click(function () {
      // custom handling here
      return false;
  });
  </code></pre>
  
  <p>Is there any significant difference between those two methods of stopping event propagation?</p>
  
  <p>For me, <code>return false;</code> is simpler, shorter and probably less error prone than executing a method. With the method, you have to remember about correct casing, parenthesis, etc. </p>
  
  <p>Also, I have to define the first parameter in callback to be able to call the method. Perhaps, there are some reasons why I should avoid doing it like this and use <code>preventDefault</code> instead? What's the better way?</p>