2 ms·
a tagent, is erlang and maybe elixir worth spending time learning if Ive spent time writing haskell and scala?
by tayo42 6y ago
a tagent, is erlang and maybe elixir worth spending time learning if Ive spent time writing haskell and scala?
- dmix 6y agoYes, I loved learning Erlang (and later Elixir was a breeze). It's a good experience in learning how to build apps using the Actor model (they predated it before it was called Actors) and building resilient, multi-process based systems where failure is part of the design and fully accounted for. It also has a really small and simple syntax and wonderful pattern matching heavy approach to code, which is something I've took with me to other languages (and a feature sorely missing in most major languages). OTP is a bit of a beast and feels overwhelming at first, for example when you download an HTTP server to run your app you actually "run" the supervisor which spawns a bunch of processes. And this is all within your own application which is a group of isolated processes. I'd personally use Erlang/Elixir for everything if it had strong typing. And I still might anyway for my next project.