title: What is best practice regarding function definition and calling ordering?
body: <p>jslint requires that function definitions are made before the calling of the function.</p>
  
  <p>However, I would have thought that the dynamic compiler is smart enough to look ahead for the definition.</p>
  
  <p>Is is just best practice to define your function before you call it?</p>
  
  <p>In my case the logic would be more clear if I called the function before I defined it.</p>
  
  <p>I don't see and option at <a href="http://jslint.com/" rel="nofollow">jslint</a> to tolerate function calls before function definitions.</p>