News for hackers. Stuff that matters.
Re:Rate-limiting JavaScript function calls by WiseWeasel on Monday October 15, 2012 @02:12PM (#4656332)
Underscore is tiny, and there are lots of other goodies you'll probably want to use in there if you look, like _.each(), _.defer(), _.pluck(), _.escape(), and so many more; totally worth it. I installed underscore for backbone, and I have a hard time imagining life without it now, even if I didn't use backbone.
Re:Rate-limiting JavaScript function calls by dagw on Monday October 15, 2012 @03:58PM (#4656881)
When I'm writing actual web sites I always include underscore. However when writing libraries that I want to distribute on their own I don't want to force unnecessary third party dependencies on end users if it can be avoided. In those cases I have pulled out a single underscores function that I happened to need.