4 ms·
Fallacy of composition. You're saying that any language with HOFs, immutability and "idiomatic way to contain state" is ergo Haskell-like, which is insane. None
by vezzy-fnord 11y ago
Fallacy of composition. You're saying that any language with HOFs, immutability and "idiomatic way to contain state" is ergo Haskell-like, which is insane. None of these are even properties of Elixir, but of Erlang, which Elixir inherits. Erlang is self-evidently not Haskell-like. At best such a language would be merely functional. The actor model isn't even about anything analogous to monads, it's a concurrency model that happens to simplify concurrency control through isolation.
- davidw 11y ago> insane Rather than sling around heavy duty words like "insanity", you might try putting yourself in their shoes: perhaps their only exposure to a functional language is Haskell. Elixir is going to look a lot more like that, than, say, C++.
- vezzy-fnord 11y agoIrrelevant. Ignorance does not make inapt comparisons retroactively correct.
- davidw 11y agoIn technical terms, you are of course correct, and it's helpful to point that out where people are wrong. But being wrong is not "insane" - that's incorrect in and of itself :-)