4 ms·
Could I possibly get a screen shot lol I will have to disagree. By condensed do you mean the code could be implemented better? Or do you think there are too m
by thomasdavis 16y ago
Could I possibly get a screen shot lol
I will have to disagree.
By condensed do you mean the code could be implemented better? Or do you think there are too many useless methods?
Just some things I have noticedl
Backbones Controller/History beats most jQuery plugins and generally Backbone.js will still be smaller then the plugins for example jQuery BBQ or Baluptons implementation.
The Backbone.sync method forces you to route all ajax calls through one gateway which means you have no code redundancy.
Backbone is built to work along side of underscore.js which is also super light weight. Also very fast at manipulating the DOM and includes a default templating system which works great.
- jashkenas 16y agoI think what Timothy is saying is that in order to just add some <li> items to a <ul> tag, there's too much code happening in the tutorial. ... Which is totally true. You only get to the point where something like Backbone would be an advantage when you have rich models with editable state.
- TimothyBurgess 16y agoAlong those lines is exactly what I'm saying... in addition to shortening the function names and other small (yet important size-wise) optimizations that would really help out in the long run. If I had the time I'd specifically address each optimization, but I don't. It's cool that my comment is at -1 points. Thanks HN! You make me want to return here more and more every day with your unbiased contributions.
- alexpeattie 16y agoThis shows the problem with the b's and d's (also the u's): http://i.min.us/ickmjM.png http://i.min.us/ickmjM.png its just that they descend below the baseline, which looks a bit odd. The effect only appears at the default text zoom (on FF for Windows).
- Pheter 16y agoThe same problem occurs in Chrome on Windows.