Y
Hacker News
new
|
ask
|
show
|
jobs
by
axman6
16 days ago
See how much more readable that is? /s
1 comments
smitty1e
16 days ago
You can typedef your way to readability in C++.
link
WorldMaker
16 days ago
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.
link