|
|
|
|
|
by acjohnson55
3568 days ago
|
|
The only problem, in my opinion, is the lack of explicit types. From what I can see, the compiler provides some safety that doesn't exist in typical scripting languages. But I think we're pretty much at a point where so many of the commonly used scripting language idioms can be effectively described in a type system. TypeScript proves this. But it also proves that's it's still pretty difficult to add types to a programming language ecosystem after the fact, so it feels like that ship has likely sailed for Elixir. |
|
http://erlang.org/doc/apps/dialyzer/dialyzer_chapter.html
http://elixir-lang.org/getting-started/typespecs-and-behavio...
Not the same as TypeScript or Haskell, but may help.
Note that Erlang/Elixir programmers don't care about most runtime errors as we use Supervisors to restart processes that may crash because of them.