Re:Ask HN: Whatever Happened to Elixir?
by weatherlite on Friday April 15, 2022 @01:22PM
(#31042881)
Dynamic JS will always remain a thing...its the easiest way for beginners to learn programming
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.
Re:Ask HN: Whatever Happened to Elixir?
by weatherlite on Friday April 15, 2022 @06:14PM
(#31046553)
It still has a monopoly in the browser so...it's gonna be a lot of people's first language.
Re:Ask HN: Whatever Happened to Elixir?
by JonChesterfield on Friday April 15, 2022 @05:43AM
(#31038233)
Big teams and big companies like static languages. That's lots of people in favour and lots of people saying it's better. I'm not sure this is a new trend.
Many people are upgrading JS to TS, and most of the popular languages (Java, C#, C++) are static, compiled languages.