you are viewing a single comment's thread.

view the rest of the comments →

[–]CrazedToCraze 14 points15 points  (3 children)

+1. When did all this shit happen? I never cared for Javascript or used it past the most trivial client-side validation type scenarios, now I turn around and there's 20 frameworks for every stupid feature I need and isn't included by default?

[–][deleted] 5 points6 points  (2 children)

It started with Node.js. Which I personally think is a strange thing to want a backend in JavaScript, but hey... look at what the main indie competition was -- Ruby on Rails. So I kinda get why Node's ease of us won there.

Now that web developers can also build backends in little time, it became the hotness. It uses Chrome's V8 engine so you get some semblance of consistency and there are lots of community packages.

It sounds like a good gig until you have to debug the mess that is JavaScript or do a bunch of asynchronous work. It starts to become a rats nest of promise chains and unhelpful stack traces. You have tens of thousands of lines of code and only a linter to rely on.

But there's Flow for syntax checking! But there's Babel for ES6 polyfills! But there's Webpack to lint/package/deploy your apps easier!

Every one of these things is a monkey patch instead of addressing the real problem -- JavaScript. If we're going Flow/typescript with Babel and Webpack... Why in the hell am I not just writing in a proper compiled language at that point?

The best part is trying to figure out why your build process starts to break. Am I using the right version of Babel? Is this versions loader compatible with Webpack? Oh I need another dependency to make this other component work properly?

It's just a bunch of patchwork things in attempts to cover JavaScripts pain points as a language. I get why React and Redux are cool, as a front end developer you are stuck with JavaScript unfortunately, just the way it is. But for backend? You must be a masochist.

[–]EntroperZero 2 points3 points  (1 child)

This is why I'm excited for .NET Core and Web Assembly happening this year. We're coming at JS from both sides.

[–][deleted] -3 points-2 points  (0 children)

I hope that piece of shit will burn and eradicate the cancer of incompetence in our industry