title: Good Practices in JavaScript API Development
body: <p>What's a good approach to designing a JavaScript API?</p>
  
  <p>I'm relatively new to JavaScript and learning the key good features of the language, mostly from "JavaScript: The Good Parts".  Currently, I'm designing a web based tool to teach Statistics.  The code base is getting unwieldly in part because I don't understand how to design a JavaScript API.</p>
  
  <p>My background is in Java and C++ and am used to designing interfaces then implementing those interfaces independently.  Obviously, this doesn't work well in JavaScript.</p>
  
  <p>Thanks for any help and suggestions.</p>
  
  <p><strong>Update</strong>: Final version of the tool here: <a href="http://www.lock5stat.com/statkey/index.html" rel="nofollow noreferrer">http://www.lock5stat.com/statkey/index.html</a></p>