Brendan Eich originally designed JavaScript to be a light, breezy, off-the-cuff scripting language for the web browser. It’s great for writing quick solutions to relatively small problems. It was never intended to be a serious software engineering tool. This does not reflect poorly on the language designer.

However, there’s no question that the very features that make JavaScript so light and breezy (loose typing, relaxed syntax, sloppy semantics) are also the very things that make it ill-suited for software engineering. In the intervening years, ECMA have tried to improve the language. Unfortunately, they’re doing so with one hand tied behind their back because they cannot fix JavaScript’s fundamental problems without breaking the web!

If JavaScript “makes sense” to you, it’s because you fail to appreciate the risk that the language’s lack of discipline poses to the IT industry. Or, you may appreciate the risk but you choose to ignore it. I’m not sure which is worse.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store