Stop Nesting Functions! (But Not All of Them) | Nettuts+ - 2 views
-
Chad Kipling on 19 Oct 11A good tutorial on where you should define a function in javascript and why. Includes some major performances considerations. Basic takeaway: nested functions means tonnes of "identical" functions being creating.