Re:Why I think Node.JS is a terrible platform
by ricardobeat on Sunday September 09, 2012 @10:17AM
(#4495825)
You don't even need to concatenate the files, just use the globals object + require() normally.
[ Parent
| on HN ]
Re:Why I think Node.JS is a terrible platform
by tfb on Sunday September 09, 2012 @11:40AM
(#4496023)
The key is that I'm not actually polluting the global namespace. I also feel like using the globals object + require() would still be ugly/messy.
Re:Why I think Node.JS is a terrible platform
by ricardobeat on Sunday September 09, 2012 @04:00PM
(#4496788)
Global objects are not as much a sin as in the browser, since the environment is usually completely under your control. And of course, you wouldn't use more than a couple.