JavaScript

From IndieWeb
Revision as of 00:10, 27 February 2019 by Loqi.me (talk | contribs) ([tantek] added "Criticism: 2016-10-03 [https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f How it feels to learn JavaScript in 2016] - a dialog illustrating the absurdity of complex JS toolchains with React, JSX, Babel, AMD...)


JavaScript (JS) is a popular programming language due to its nearly ubiquitous availability in web browsers, and growing web server availability in the form of node.js.

Libraries

Generally useful libraries being developed by IndieWeb participants that run in Javascript:

Criticism

Sites break without Javascript

Javascript seems to have engendered web development methodologies that depend on it. Many sites seem to break without it, become inaccessible.

Although it is unlikely that visitors of your site still use a browser that does not support javascript as a technology, there are situations in which this is relevant to you as a webmaster.

See also: antipatterns

More Fragile Than HTML

Many sites now depend on Javascript to generate the page in a browser, rather than generating the page on the server and sending HTML. This is a more fragile approach:

Breaks Browser User Features

As illustrated by: https://twitter.com/gabrielgironda/status/721115498474270721

DEAR #FRONTEND DEVELOPERS: PLEASE STOP MAKING SITES WITH LINKS I CAN'T COMMAND-CLICK TO OPEN IN A NEW TAB. WHAT IS WRONG WITH YOU

Can Encourage Bad Engineering

As summarized by: https://twitter.com/fox/status/716879915333750784

I have seen the worst engineering in my career lately and I have one message:

STOP TRYING TO WRITE EVERYTHING FRONT-END IN JAVASCRIPT

See Also