| ▲ | saghm a day ago | |||||||||||||||||||
> the entire language kind of feels slapped together to me The slogan "avoid success at all costs" definitely is accurate for Haskell | ||||||||||||||||||||
| ▲ | tombert 8 hours ago | parent [-] | |||||||||||||||||||
I honestly don't think that that's why the language is annoying though. "Avoid success at all costs" has always meant (in my mind) to mean "we will prioritize doing things the 'right' way instead of doing things to appeal to corporations". That's fine, I'm all for doing things correctly, but I think a lot of Haskell's bullshit isn't because of that. It's a common complaint but it's common for a reason: the fact that records couldn't contain the same field names was really stupid. Apparently in the 90's the Haskell devs couldn't fathom two different types both having a field called "ID" or "name". How does allowing multiple objects to have an overlapping field name affect purity? Plenty of other languages, some of which are even more mathy than Haskell, have managed to pull this off (e.g. TLA+). Could it be because records/structs are really just a shitty hack around tuples tacked onto the language? Yes, Lens fixed hat particular problem with Template Haskell, and now there's yet another GHC extension to more or less work around it, but doesn't change the fact that I think it was something actively bad and it wasn't because of "purity" reasons. | ||||||||||||||||||||
| ||||||||||||||||||||