3 ms·
Really? I've almost never seen node.js pitched to anyone other than newbies (although not in the enterprise trenches for sure). Rarely the pitch involves being
by freshhawk 15y ago
Really? I've almost never seen node.js pitched to anyone other than newbies (although not in the enterprise trenches for sure).
Rarely the pitch involves being able to share libraries between the server side and browser side (wonderful benefit of node.js)
Most of the time it's being sold as "you already know javascript" or "it's super fast, because non-blocking is magic sauce!"
I haven't used Node.js for anything serious but the hype and especially the discussion around the now infamous node is cancer post sure makes it seem like Biilmann was correct when he said "For better or worse, Node is like the PHP of concurrency and ever so often worse is better"
Even if that's not true, if that demographic is the dominant users of and contributors to Node then that's what Node will become.
- vogonj 15y ago<derail> I find the notion of sharing libraries between the client and server kind of odd, in that people who talk about the "open web" think it's a desirable quality. it allows you to rev a protocol faster, but at the cost of not being forced to have a point of reference that isn't also intrinsically tied to one implementation of the protocol, which seems a very un-open thing to do to me. </derail>
- freshhawk 15y agoThe libraries I was thinking of sharing are all ones that are tightly coupled to the specific pages they would be on and all related to UI. Things like form validation, user input normalization, navigation options. There are ton of small data manipulation functions that you either have to maintain in both javascript and your server side language and cause some weird bugs when one version doesn't behave exactly the same as the other or else you need to make a bunch of unnecessary ajax calls just to avoid reimplementing things in js. There is much deeper integration you could do but I think we're on the same page as to why that's a bad idea.