Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

I love Haskell but I feel it attracts the most golfy code. E.g. Yes you apply the dot operator to itself but why would you?


> 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.


> 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.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: