Erik Engheim
1 min readJun 24, 2022

--

I accept that many people like JavaScript but I think it is one of the worst languages out there and I have used dozens since the 1980s. It is such a mess of a system. The usage of “this” is so bizarre and different from pretty much any language. The fact that it isn’t obvious what the best way of defining a function is a big red flag.

Lua, is a language similar to JavaScript, as in being prototype based, but they actually did a proper design.

Type weakness is another thing that makes JavaScript really shitty to work with. It silently ignores far too many problems.

And JavaScript code is just awful to read with its heavy nesting of JSON structures.

The module system is a mess. So much tweaking to get stuff working in different contexts. The amount of legacy and different inconsistent ways of doing things is just staggering.

Sometimes I wonder if the love of JavaScript is some kind of Stockholm syndrome. But I have just accepted that I will never understand the love of JavaScript and why it’s many flaws don’t seem to bother people. Maybe they have never tried other things? I don’t know.

--

--

Erik Engheim
Erik Engheim

Written by Erik Engheim

Geek dad, living in Oslo, Norway with passion for UX, Julia programming, science, teaching, reading and writing.

Responses (1)