Re:Ask HN: Whatever Happened to Elixir?
by smt88 on Friday April 15, 2022 @03:44PM
(#31044880)
JS is one of the hardest languages there is. You need enormous discipline and also a deep knowledge of its quirks and sharp edges.
You need to know about truthiness, null vs. undefined, type coercion, etc.
And if you mess those things up, you often get silent or unclear errors.
Languages that are stricter are better able to guess the programmer's intent even when a typo or mistake is made, and the static analyzer can even suggest a fix. JS can't do that.
And don't even get me started on modules, monkey-patching, and globals. JS is full of hidden footguns.
You need to know about truthiness, null vs. undefined, type coercion, etc.
And if you mess those things up, you often get silent or unclear errors.
Languages that are stricter are better able to guess the programmer's intent even when a typo or mistake is made, and the static analyzer can even suggest a fix. JS can't do that.
And don't even get me started on modules, monkey-patching, and globals. JS is full of hidden footguns.