Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
smitty1e
· 3w ago · 0 comments
You can typedef your way to readability in C++.
Comments
[–]
WorldMaker
3w 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.