News for hackers. Stuff that matters.
Re:Elixir Is Erlang, not Ruby by dragonwriter on Monday September 07, 2020 @05:33AM (#24398067)
> Elixir sounds like a step up from Ruby, but I really miss static typing, and I find it hard to justify investing time in yet another language that doesn't have it.

Static typing serves basically two purposes: correctness through static type analysis and enabling compiler optimizations.

Like many languages that don’t mandate static typing, Elixir has available static type analysis solutions; in Elixir's case (as for Erlang) it's Dialyzer, which does more static analysis than just what is usually thought of as typechecking.

Re:Elixir Is Erlang, not Ruby by Kototama on Monday September 07, 2020 @05:45AM (#24398130)
I love Elixir but i will never advocate Dialyxir for somebody looking for static typing. It's super slow, it's not as powerful and rarely (but sometimes) it rejects programs that are valid.