Hacker News new | past | comments | ask | show | jobs | submit login

> You see the Node.js philosophy is to take the worst fucking language ever designed and put it on the server.

Had to laugh at that!

In the recent Westworld episode (S01E05), the lab tech was trying to program the bird's AI and his file was called "New Script.wws", where .wws is apparently "west world script".

Look here: http://i.imgur.com/oG9xM8o.png

Immediately, the thought crossed my mind, "Must be fucking JavaScript! No wonder the AI will soon start killing the humans" :-)

In my faux outrage, I went into theoretical scenarios of how exactly JS caused SkyNet. To be fair, once my flash of righteousness passed, I took a closer look and .wws looks nothing like JS. Also, there seems to be C or C++ on the LHS.

I still bet WWS is some kind of duck-typed shite that relies on the cult of TDD to keep the robots' behaviour safe.

checkNoKillMode(str). "Look, all my tests pass. We have 100% coverage".

Yeah, except when str == '', in which case it evals to false. Of course, there's no test case for that.




"You see the Node.js philosophy is to take the worst fucking language ever designed and put it on the server."

My theory is that there are many front-end designers that only know html, javascript, and css, and suggested javascript on the back-end, because they don't know any other language.

I've been a part of many of the javascript framework communities like Ember.js over the years and it's filled with designers, not developers.

But it also depends on your optimizations. If you are a small company, you want to focus on having a small footprint because server space costs more to you.

Large companies don't care about server space costs, because it's negligible compared to the cost of a developer salary and benefits. So, they would rather use a large and bloated framework that helps with productivity because less lines of code need to be written.

I've worked at a few large corporations that didn't get that much traffic. They all used enterprisey, inefficient, and bloated frameworks. Nobody really noticed because they could just throw some more hardware at it and the traffic to the site was fairly low.


> I still bet WWS is some kind of duck-typed shite that relies on the cult of TDD to keep the robots' behaviour safe.

> checkNoKillMode(str). "Look, all my tests pass. We have 100% coverage".

> Yeah, except when str == '', in which case it evals to false. Of course, there's no test case for that.

So much this.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: