5 ms·
When you say "erlang feels alien to us," do you mean the erlang language, the erlang semantics (OTP etc.), or functional styles in general (recursion over itera
by pmarreck 10y ago
When you say "erlang feels alien to us," do you mean the erlang language, the erlang semantics (OTP etc.), or functional styles in general (recursion over iteration, immutable state, lack of inheritance, etc.)?
Because Elixir was alien to me too (other than looking superfically Ruby-like)... at first... but after a while working with it, I started to see the advantage of the functional approach over OO, pattern matching was AWESOME (!!!), new processes in 1ms was AWESOME (as is process management in general), and the OTP semantics made sense after sitting on it for a while. And also, after learning some OTP, talking to Erlang wasn't weird either, and then reading Erlang code made a lot more sense (if still much uglier).
> Language concepts are easy to grasp
Sure, because everyone knows how to read procedural OO code. But, line for line, you'll get a lot further (and have fewer bugs) with a functional approach IMHO, even if you have to master concepts like triggering TCO (tail-call optimization).