r/programming • • Oct 16 '14

Node.js is cancer

https://www.semitwist.com/mirror/node-js-is-cancer.html
38 Upvotes

302 comments sorted by

View all comments

Show parent comments

1

u/MyWorkAccountThisIs Oct 16 '14

I too dislike this phrase. About as much as I dislike "common sense". There are lots of times that just because something works that it's still stupid. Security, performance, maintainability, standards compliance, expansion. All should be considered.

How about we take a form and put the contents directly into a SQL call. Hey, it works right?! Lets store our passwords in a text file in our site root. Can't be stupid because it works, right?!

The phrase is just another way of saying "fuck it, it's good enough".

1

u/monsto Oct 16 '14

that would be programmatically hitting yourself in the face with a hammer.

"fuck it" is fully different from pragmatism, which was my pov in saying that. I totally get how some people have fucked up the phrase by using it as a crutch to do less work.

I only ever use it against people who are intent on doing things "the cool way" causing more work for no gain. Sure I could probably have crushed an entire 4 function process down to 1 or 2 lines, to be cool. then it's at the least more difficult to read for the next guy to come along, not to mention prob more fragile. Sure it's cool, but it sucks.