Hacker News new | past | comments | ask | show | jobs | submit login

> The design of Haskell also encourages users to be very clever, which only makes code harder to read.

This is BS - find me some "clever" code in one of these Haskell projects and I bet it's not clever but simply using a set of abstractions there maintainers like and grok and the reader just doesn't understand.




Maybe I'm being overly pedantic but I think that's a textbook description for overly "clever" code in any language- it makes perfect sense to the authors but is nontrivial for the reader to understand


Except in Haskell, it's not just some pet bit of code by the authors. It's a shared abstraction with well understood laws and theoretical underpinning.

What people call "clever" code in mainstream programming is not in any way similar to the Haskell being referred to.

Luckily in the Haskell world, we don't ascribe negative attributes like "cleverness" to code that isn't outsider-friendly. We gain a lot by not requiring that all our code is understandable by a mainstream programmer.




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

Search: