| Since the focus of this article is Javascript they should have written: 'When explaining Javascript, we have to decide how to approach its shortcomings. There are mistakes in its design, and it has usability problems, and it is unreliable. How do we approach these and how much emphasis do we place on them? One approach is: "Javascript has a lot of problems, but we'll show you how to avoid them." That can demotivate the learner: "Why am I learning Javascript if it has so many problems?"' The answer is: "You need to know Javascript because it is the heart of web programming and one of the most widely-used programming languages in existence." Javascript was designed and implemented in 10 days and became ubiquitous through the world wide web, despite its laughably bad flaws and shortcomings. Gary Bernhardt's WAT talk shows just how non-sensical Javascript can be: https://www.destroyallsoftware.com/talks/wat I love you, Javascript, but it's Stockholm syndrome. |