News for hackers. Stuff that matters.
Re:Python overtakes Java to become the second-most popular p... by AlchemistCamp on Thursday November 05, 2020 @03:14PM (#25001529)
> 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.

Re:Python overtakes Java to become the second-most popular p... by dnautics on Thursday November 05, 2020 @03:25PM (#25001620)
To be fair elixir has slowly become more and more static over time, as in via convention and tooling.
Re:Python overtakes Java to become the second-most popular p... by AlchemistCamp on Thursday November 05, 2020 @03:28PM (#25001634)
Even at the language level, every single variable is a constant—the opposite of "hyper dynamic".
Re:Python overtakes Java to become the second-most popular p... by elcritch on Thursday November 05, 2020 @03:47PM (#25001786)
The 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.