Elm is Wrong
reasonablypolymorphic.com
Elm is Wrong
1–10 of 218 posts
Re: Elm is Wrong
#2 >I have complaints about Elm after using it during a quick hack session.Re: Elm is Wrong
#3Re: Elm is Wrong
#4>I have complaints about Elm after using it during a quick hack session.
For a Haskell programmer, what he tried to do (use typeclasses) is extremely common. It's some of the most basic stuff you can do. Elm is clearly modeled after Haskell, and absolutely fails to maintain the basic patterns that Haskell users take for granted.
Re: Elm is Wrong
#5>I have complaints about Elm after using it during a quick hack session.
Re: Elm is Wrong
#6Re: Elm is Wrong
#7>I have complaints about Elm after using it during a quick hack session.
But his(/her?) major complaint is valid: lack of type classes, which completely kills essential composability and generic properties of Haskell. And the module system doesn't offer MLs features to make up for it (signatures).
This means that Elm requires boilerplate for things that are elegantly handled by type classes.
You may also look at Purescript [1], a more complete Haskell inspired language compiling to Javascript.
Haskell is a complex language. So I'm not necessarily saying that Purescript is a good choice for the average developer unfamiliar with functional languages.
Elms 'lack of features' makes it easy to pick up. Especially if you aren't familiar with FP. But Elm is TOO simple.
Re: Elm is Wrong
#8Re: Elm is Wrong
#9I don't like the tone of this article, otherwise critique seems to warrant more discussion. Elm as a language is in development and community is very vibrant and open... as long as you don't mention rules for formatting, one in particular ;). So, I really wouldn't discount Elm so quickly.
On the other hand, PureScript and Reason also look very interesting and I am looking forward to get more familiar with them. I think we live in fantastic times.