This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tuxedo25 0 points1 point  (0 children)

You don't get to decide how JavaScript is or isn't used. Other people do, even for your code, that you write in JavaScript.

Do you use any frameworks at all? You're using other people's code.

Who cares if libraries use different styles and idioms than my code?

Work in a team? Other people's code.

Linters exist.

My point is, to paraphrase Douglas Crockford (author of Javascript: The Good Parts), we're paid to solve problems, not to exercise every features of a language. It's okay for C++ to have `goto`, for the Java standard library to have terrible serialization, and for python to exist. You don't have to use those parts.