r/functionalprogramming • u/Voxelman • Aug 03 '24
Question What's the benefit of learning Elixir?
I'm currently learning Haskell (and F#), but I also look around to other languages.
One language that is often mentioned is Elixir. Do I have any benefit if I learn Elixir? It is dynamically typed, but I think strong static typing is a better choice to write more robust software. But maybe I'm wrong at this point and someone can clarify that for me.
47
Upvotes
View all comments
Show parent comment
2
u/smthamazing Aug 03 '24 edited Aug 03 '24
Just curious, why do you find it weird? I don't have a lot of experience with Scala and am just getting into it, but so far I like it more than Kotlin. As an example, I can at least have things like
Option[Option[...]]that work predictably and allow me to store values like None in data structures, compared to Kotlin's approach of silently collapsing nullable values (T??is the same asT?). There's also decent pattern matching with destructuring, whereas Kotlin matches only on equality and type.