4 ms·
> I love Haskell but I feel it attracts the most golfy code. I don't feel like most Haskell code is like that and I've read a fair amount. > E.g. Yes you appl
by codygman 10y ago
> I love Haskell but I feel it attracts the most golfy code.
I don't feel like most Haskell code is like that and I've read a fair amount.
> E.g. Yes you apply the dot operator to itself but why would you?
I write a fair amount of Haskell and I despise seeing code that applies the dot operator to itself.
Another lambda rather than a double compose is almost always the answer.
- bbcbasic 10y ago> Another lambda rather than a double compose is almost always the answer. Exactly. I also like to choose between do, >>= and <$>, <*> etc. based on readability. I prefer a slightly more clumsy but readable do {...} in many situations.