There have been a few criticisms of the javascript module pattern, despite its many advantages. Take for example Jonathon Snook's “Why I don't like javascript's module pattern”. While everyone has their own style, my fear is that people, given Snook's demanding presence, will take his word for gospel without understanding it.
This article isn't about teaching you the pattern, but more about when to use it and why—though I'll start with a brief example of the pattern to get us all on the same page.
Your new post is loading...