r/functionalprogramming • • 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

45 comments sorted by

View all comments

Show parent comment

2

u/Voxelman Aug 03 '24

Hm, that's something I like about statically typed languages like Rust. I don't need external tools. Everything is built into the language/compiler. And in most cases it doesn't compile and you don't have to wait for a bug at runtime. Or have I misunderstood something?

2

u/a3th3rus Aug 03 '24

I always have a question, what's the type of a function argument that accepts possible values that are deserialized from JSON strings and nothing more?