3 ms·
"You see the Node.js philosophy is to take the worst fucking language ever designed and put it on the server. Combine that with all the magpies that were using
by GordonS 11y ago
"You see the Node.js philosophy is to take the worst fucking language ever designed and put it on the server. Combine that with all the magpies that were using Ruby at the time, and you have the perfect fucking storm. Lets take everything that was great in Ruby and re write it in Javascript, I think was the official motto."
Heh, too true :D
- civilian 11y agoTo quote Aaron Sorkin somewhat out-of-context: "If liberals are so fucking smart, how come they lose so goddamn always?" I don't want to say that javascript is a good language, but it can get the job done. And nodejs' value comes from allowing devs who have only had client-side experience to quickly jam on the server-side.
- mschuster91 11y ago> And nodejs' value comes from allowing devs who have only had client-side experience to quickly jam on the server-side. And this leads to clusterfucks like the Trend Micro Remote Command Execution clusterfuck a couple of days ago (https://code.google.com/p/google-security-research/issues/detail?id=693 https://code.google.com/p/google-security-research/issues/de...). It took a decade until enough braindead morons got away from PHP to fix its underlying deficiencies (like mysql_x, register_globals, ...); I'm afraid the same (or worse!) will happen to NodeJS. Reason: On client you can get away with a LOT more crap than on server because the browser will protect you from the worst (SOP, memory, infinite loops, ...), and so people aren't used to think about security or best practices or code size or code quality. Or about memory leaks. On the server you're left on your own - and to make crap worse, a PHP app always starts in a clean state, so unless you use external services, given the same inputs you will get deterministic behavior from your script. NodeJS not, yummy memory leaking bugs <3. Happy debugging!
- dham 11y agoIs Javascript the worst language ever designed? No, not by a long shot. It's a little hyperbole for humor. I think the majority of the article went over peoples heads. Maybe because developers are more analytical in nature, or the fact that it's text and is interpreted differently by each person. The goal was to make a few points, but more to get people thinking. Web developers are taken too much by trends without understanding them. I wrote the original article.
- paulddraper 11y agoYeah, it's line he's never heard of PHP. JS is probably 2nd, among languages still in common use.
- nikdaheratik 11y agoIt's a good point, but any usable language can work out okay as long as the people coding it know what they're doing and how to write code that other people can work with. The thing that irritates me about the node.js trend is that the people who are using it don't always understand the environment they are in because they never write for the server side. It's a case of an entire community needing to RTFM. OTOH, it's not like anyone outside the community is forced to use their code. And some of them at least know what they are doing.