Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's a good point. A good post about a rewrite of a non trivial application would make that claim more substantiated, i agree.

The examples at TodoMVC can serve as a comparison:

Vanilla JS: https://github.com/addyosmani/todomvc/tree/master/vanilla-ex...

jQuery: https://github.com/addyosmani/todomvc/tree/master/architectu...

Backbone: https://github.com/addyosmani/todomvc/tree/master/architectu...

Though i think the Backbone.js example is quite unfavourable, as it's very over-structured. There is no need for so many files; the original code at http://backbonejs.org/docs/todos.html is much better IMO and i think it compares favourable against the jQuery and vanilla JS examples at TodoMVC.

I'm also in the "Libraries before Frameworks" camp, but not as much as i was not so long ago. I used to associate frameworks to bloat, unnecessary complexity and a feeling of being trapped with no hope of escaping. After using light frameworks like Sinatra (Ruby) or Backbone i now don't so negative opinions towards frameworks; they can be utilitarian and serve their purpose without getting too much in the way, but only when they are _focused_, and don't try to implement all possible use cases (Backbone, for instance, lets you use whatever you want for dealing with the DOM).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: