3 ms·
> I still love Python, but I now have a completely different attitude to hyper-dynamic languages (like Python, Ruby, Clojure, Elixir, etc). Elixir is all about
by AlchemistCamp 6y ago
> I still love Python, but I now have a completely different attitude to hyper-dynamic languages (like Python, Ruby, Clojure, Elixir, etc).
Elixir is all about immutable structs and pattern matching. I don't think "hyper dynamic" is a fair characterization at all.
- dnautics 6y agoTo be fair elixir has slowly become more and more static over time, as in via convention and tooling.
- AlchemistCamp 6y agoEven at the language level, every single variable is a constant—the opposite of "hyper dynamic".
- elcritch 6y agoThe larger design patterns build on that immutability on the local level. Inheriting the design patterns from Erlang/OTP also make larger programs much more feasible. I can be away from a piece of Elixir code for months and come back and the structure is usually pretty straightforward to pick up again. Primarily due to supervisor hierarchies combined with the lack of weird OOP hierarchies and entanglement.