Hacker News new | ask | show | jobs
by axman6 16 days ago
See how much more readable that is? /s
1 comments

You can typedef your way to readability in C++.
Similarly you can type definition (`data` keyword) your way to additional readability in Haskell. There's always a push/pull between using a generic type like `(b, c, [d], e)` and using a named type like `Record` in the above example, for instance.