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

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.