Second: As someone who uses Elixir for their day job, Racket for PL research, and Python for some CS classes, I can state with 100% confidence that Elixir is much closer to Lisp than Python. Elixir has macros that operate on the level of abstract syntax trees! Indeed, I think that is how most of this project was implemented.
Elixir is a functional language and it even has Lisp-style macros.
https://games.greggman.com/game/dynamic-typing-static-typing...
The hard evidence that static typing is an overall-win is lacking. Period.
or, more succinctly,
Thanks for the interesting sounding talk link. It's "Types are like the Weather, Type Systems are like Weathermen - Matthias Felleisen" from ClojureTV, for those who rarely click on youtube links. Mathias Felleisen a well known Racket guy, author of How to Design Programs, etc.
Perhaps it helps more in certain specific languages or contexts.
The studies found no general “overall cost” improvement; in other words, the extra correctness came at the cost of tons more boilerplate and “fighting the type system”
Combined with function parameters typehinting (which easily beats typespecs) it's a great and productive developer experience I must say.
Elixir and Erlang are strongly- BUT DYNAMICALLY- typed. Next time, please check yourself before you wreck yourself.