Re:Modern JavaScript for Ancient Web Developers
by 91bananas on Thursday March 23, 2017 @11:08PM
(#13946289)
I trip out every time I look at the source of it and Underscore. There's nothing there, it's all so simple, it's like the bare minimum amount of code that can be there to do the things it does.
Re:Modern JavaScript for Ancient Web Developers
by LunaSea on Friday March 24, 2017 @10:13AM
(#13948999)
Backbone aka. Memory leaks as a service
Which is the reason Marionette exists in the first place (well that and boilerplate code).
Re:Modern JavaScript for Ancient Web Developers
by 91bananas on Friday March 24, 2017 @11:16AM
(#13949440)
If you create a bunch of stuff then don't dereference/unlink/whatever you want to call it in JS-land it you're going to have a bunch of references to stuff laying around. I don't fault Backbone for that.
Check out the annotated source here: http://backbonejs.org/docs/backbone.html