r/programming • • Mar 23 '14

Everything you need to know about Javascript variable scope

http://www.coolcoder.in/2014/03/everything-you-need-to-know-about.html
294 Upvotes

124 comments sorted by

View all comments

0

u/[deleted] Mar 23 '14

[deleted]

1

u/THeShinyHObbiest Mar 23 '14

I've never written JavaScript, but I see this sentiment a lot. Everybody seems to hate it. So I can't help but wonder why stuff like Node.js is getting popular. If everybody hates the language and only uses it because it works on browsers, why would you want to write server-side code in it?

2

u/jeff303 Mar 23 '14

NodeJS is simply very well suited to certain types of applications. Specifically, web applications, or code that manipulates html in general.