Hacker News new | past | comments | ask | show | jobs | submit login

I think when you start reimplementing garbage collection in your application, you are probably going down the wrong path and should think about a better way to do things.



What's your evidence of this? Have you built a large Backbone application? As it stands, your comment comes across as snide and indefensible.


http://en.wikipedia.org/wiki/Abstraction_inversion

It's a little bit like this anti-pattern.


Backbone.js is minimal on purpose so that you may implement these types of optimizations. That's why there's many ways to do things in Backbone.js but overall makes the application more efficient.


Any custom built caching layer is normally going to have to handle this situation.




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

Search: