Content-type: text/html Downes.ca ~ Stephen's Web ~ What is JavaScript used for? 7 practical JavaScript uses

Stephen Downes

Knowledge, Learning, Community

I want to preface this post by saying that Futurelearn is normally very good. But I don't think I've ever seen an article miss the point as badly as this article on Javascript. The key, main and core thing to know about Javascript is that it works with the document object model (DOM). This object oriented approach allows programmers to manipulate and attach functions to web page properties, including media elements, the canvas, and much more. The second main thing to know is that it is asynchronous, which means that you can write a function and let it do do something while you do other things, and then deal with it when it comes back with a response. The third thing to know about is Javascript templating and the wide use of frameworks such as Vue, React, jQuery and Node. These capabilities not only make Javascript unique, it also creates a complexity to Javascript programming that needs to be understood to be appreciated. The FutureLearn article describes none of this, instead treating Javascript as though it were just another scripting language.

Today: 6 Total: 1106 [Direct link] [Share]


Stephen Downes Stephen Downes, Casselman, Canada
stephen@downes.ca

Copyright 2024
Last Updated: Apr 24, 2024 10:21 p.m.

Canadian Flag Creative Commons License.

Force:yes