Hacker News new | ask | show | jobs
by snird 4500 days ago
Modules are evil in my experience, they have many disadvantages, much more than the writer points to.

When I looked up for some wrapper to Backbone I came across ChaplinJS: https://github.com/chaplinjs/chaplin/ and it was nice, but using the module system was a nightmare. It was so painful, that I forked it and remove the module system from the code (which was a pain, but still less painful than handling the module system). the fork is here: https://github.com/snird/Mildred and I use it in production now.

1 comments

Can you elaborate on what kind nightmare/pain you came across using AMD? From my experience requirejs simply gives you a bit of structure, helps you organize your code so you can reference other parts of it easily.