2 ms·
My biggest issue with Haskell is the syntax. Things like the dot operator requiring functions to be chained in reverse from every other language, the ugliness o
by mattgreenrocks 4y ago
My biggest issue with Haskell is the syntax. Things like the dot operator requiring functions to be chained in reverse from every other language, the ugliness of $ vs using parens, and needing to prefix struct fields to keep them unique. It is terse and fits the language well enough but it is not beautiful.
I am ambivalent about pervasive laziness, lenses, and automatic currying.
I really like controlled effects and think it is one of the most powerful tools for structuring programs.
- benrbray 4y agoI've come to appreciate function application / composition syntax and think it allows for much more clear and readable code, compared to e.g. Scala which can be quite verbose and obscure the compositional structure of functional code. On the other hand, I agree that lack of a good solution for record syntax is a huge wart on the language that regularly gets in the way.
- lupire 4y agoYou can use a different combinator if you don't like . What other languages have a different behavior? Pipes in shell and python work the same way.
- deleted 4y ago[deleted]