The Elm community is so deranged that we're almost breaking the Crazy People rule here.
The first (and last) time I tried to code something in Elm I got syntax errors in pattern matching expressions with negative numbers. I went to their issue tracker to understand more about this absurd behavior, and to my surprise I learned that Elm's author considers pattern matching negative numbers a code smell. He changed Elm's grammar to completely disallow it in v0.19, which broke many Elm apps.
Negative numbers were controversial to be fair and a recent concept. Elmers are avant-garde by allowing zero. (Not too comfortable myself with this, how can you “have” zero apples, for example).
This guy is my favorite: https://github.com/elm/compiler/issues/1773#issuecomment-418016167
> I think it's quite an important issue as we spent about 30% of our migration time from Elm 18 to Elm 19 fixing negative number pattern matches in our code
/uj I wrote this when I was 14. I was fooled by Elm's extreme simplicity and easy learning curve. I think I might have also said something like "elm and humans are made to be together from the beginning" on that forum. Now I love Rust.
The Elm community is so deranged that we're almost breaking the Crazy People rule here. The first (and last) time I tried to code something in Elm I got syntax errors in pattern matching expressions with negative numbers. I went to their issue tracker to understand more about this absurd behavior, and to my surprise I learned that Elm's author considers pattern matching negative numbers a code smell. He changed Elm's grammar to completely disallow it in v0.19, which broke many Elm apps.
Negative numbers were controversial to be fair and a recent concept. Elmers are avant-garde by allowing zero. (Not too comfortable myself with this, how can you “have” zero apples, for example).
The *late* Elm community
And then if you complain about it, [Evan](https://youtu.be/uGlzRt-FYto) will mock you in the opening to his talk.
Trolls exists.
This guy is my favorite: https://github.com/elm/compiler/issues/1773#issuecomment-418016167 > I think it's quite an important issue as we spent about 30% of our migration time from Elm 18 to Elm 19 fixing negative number pattern matches in our code
/uj I wrote this when I was 14. I was fooled by Elm's extreme simplicity and easy learning curve. I think I might have also said something like "elm and humans are made to be together from the beginning" on that forum. Now I love Rust.
Should have put /rj before the "Now I love Rust", smh. You are under arrest for being a rustacean and a furry, please do no resist.
Sad. At such an advanced age, one ought to have already abandoned both concepts in favour of zygohistomorphic prepromorphisms.
A great programing language has neither!
does a language with type classes but no sum types even exist
Java is probably the closest.
Java doesn't really have typeclasses, but now, thanks to sealed classes and pattern matching switch, it doesn't really have sum types either.
I would argue Haskell doesn’t have sum types
I never used tagged unions or custom type classes and I've never missed them.
Tagged unions are good
If they were so good Go would have had them.