r/programming • • Jul 18 '16

Web programming is getting unnecessarily complicated

http://en.arguman.org/web-programming-is-getting-unnecessarily-complicated
324 Upvotes

258 comments sorted by

View all comments

Show parent comment

-10

u/[deleted] Jul 18 '16

JavaScript, as a language, has so many issues.

Then use a linter.

JavaScript tooling may have as many issues as the language.

Its worse actually. People suffering from impostor syndrome often try to hide behind this madness.

Downloading a boatload of JavaScript, parsing it, and then executing it is slow on desktop and even slower on mobile.

Again, this is often tooling failure. More specifically you are probably speaking to NPM dependency hell madness. If so, this is a huge failure of JavaScript as a technology.

Java is the most popular language in the world, it's well designed, but its' future is in doubt because Oracle is being ridiculous.

This is really hard to measure. It appears that JavaScript is probably more popular due to volume of code published, supported, commented upon, and transferred online. However, in the US, there are 7 - 11 times as many Java jobs as there are JavaScript jobs. Many companies find it is easier to have their Java developers write the web code directly or through some large abstraction.

16

u/Astrognome Jul 18 '16

Then use a linter.

That's trying to solve a language problem with more tooling, which is kind of the whole reason JS sucks.

1

u/[deleted] Jul 18 '16

Yes and no. If used correctly, and if strict enough, and if the code sample sucks enough the linter could serve as an unintended training tool on how to be write in this language. It is how I got more proficient in the language, and of course lots of practice.

Honestly, the biggest flaw in this language is trying to be everything for everybody. People who complain about this language focus all their energy on a few sloppy issues that are there for convenience all the while doing sloppy things of their own out of convenience.

The single biggest technical fault in the language is inheritance. It is optional in this language and the language is more expressive without it. The single most common gotcha for experienced developers entering this language is confusing inheritance for scope, which in JavaScript are completely separate and unrelated qualities.