News for hackers. Stuff that matters.
Re:Examples of beautiful Javascript by zzaman on Monday March 26, 2012 @01:36PM (#3757736)
One of the problems I have with articles like these is that they focus on Javascript's use in front-end development so the conversation settles on DOM tools examples of good Javascript.

Using Node.js (i.e. non-DOM server side Javascript) myself, I would love to see examples of beautiful Javascript in general i.e. linguistic best practices, not those specific to DOM programming.

Also, as a side note, for anyone interested in beautiful Javascript in Node.js, I love the examples posted on Express' Github repo: https://github.com/visionmedia/express/tree/master/examples/

Re:Examples of beautiful Javascript by davej on Monday March 26, 2012 @02:08PM (#3757883)
Underscore.js works on both client and server.
Re:Examples of beautiful Javascript by zzaman on Monday March 26, 2012 @04:10PM (#3758420)
Just took a look. Underscore.js looks very promising. Thanks for the tip!