News for hackers. Stuff that matters.
Re:Preparing Yourself for Modern JavaScript Development by combataircraft on Friday July 06, 2012 @05:43PM (#4209793)
here; http://requirejs.org/docs/

you can see all the smelling shit of requirejs there.

Re:Preparing Yourself for Modern JavaScript Development by cfjedimaster on Friday July 06, 2012 @11:29PM (#4210625)
That's not really an answer. What _about_ their way of doing things do you consider to be wrong and why?
Re:Preparing Yourself for Modern JavaScript Development by wilmoore on Saturday July 07, 2012 @01:16AM (#4210796)
Can you expound please?
Re:Preparing Yourself for Modern JavaScript Development by blessYAHU on Friday July 13, 2012 @11:09AM (#4240103)
A unbaised post comparing the two would be nice. Sounds like a post Addy Osmani would write. I found this post(http://blog.millermedeiros.com/amd-is-better-for-the-web-tha...) talking about why the author thinks AMD is more flexible (better). Though a biased article(though I think the CJS approach to defining an AMD method is reasonable), it does show the syntax of the two approaches. I CJS syntax has less boilerplate, but is that due to fact that CJS loads synchronously? YES, I know processors like Onejs can make so CJS modules can be used in a browser(wonder is the processed result looks similiar to Requirejs?). Just wondering if Requirejs is designed the way it is because it took loading modules asynchronously into account from the begining.