Re:A List of JavaScript Tools and Libraries
by tieTYT on Thursday April 03, 2014 @05:45PM
(#7527099)
They're not very different but I use lodash instead of underscore. Is this "six of one and half a dozen of the other", or is there good reason to stick with underscore?
Re:A List of JavaScript Tools and Libraries
by jeremya on Thursday April 03, 2014 @08:50PM
(#7528361)
I would recommend this podcast on lodash for some of the differences:
http://javascriptjabber.com/079-jsj-lo-dash-with-john-david-...
Re:A List of JavaScript Tools and Libraries
by Consultant32452 on Thursday April 03, 2014 @05:08PM
(#7526689)
When I went to that list I was specifically looking for underscore.js and date.js. Seeing a serious project that does not use these libraries makes me twitch.
Re:A List of JavaScript Tools and Libraries
by notduncansmith on Thursday April 03, 2014 @09:51PM
(#7528606)
Personally I prefer Moment.js over Date.js, it hasn't let me down yet and their site + docs are great.
Maybe you couldn't see underscore.js because it was written as "Underscore"? Or maybe you didn't read the article…
Re:A List of JavaScript Tools and Libraries
by Consultant32452 on Thursday April 03, 2014 @10:58PM
(#7528915)
Yeah, underscore was there but date wasn't. I guess my point was that there wasn't a date.js or some reasonable equivalent time library because date/time programming sucks.
Re:A List of JavaScript Tools and Libraries
by mikeyanderson on Thursday April 03, 2014 @05:23PM
(#7526860)
The title says: "A List of Foundational JavaScript Tools" seems like those could be useful but not foundational. Right?
That said, a lot of the tools are really good. I would, personally, argue that underscore is the most important javascript library in existence. It transcends frontend and backend, server and client. It is data manipulation at its finest. It brings functional programming paradigms to javascript. It is beautiful.
After spewing this mantra, one of my colleagues wrote a blog post about it that presents a nice introduction[1]. I would also highly recommend Michael Fogus's book, Functional Javascript[2], that heavily relies on it.
1. http://singlebrook.com/blog/simplify-your-javascript-with-un... 2. http://shop.oreilly.com/product/0636920028857.do