Re:Trying Haskell
by silentbicycle on Sunday April 10, 2011 @07:29PM
(#2430715)
Agreed, generally. I'd say comments are to express things the code itself cannot. More expressive languages can get by with good naming, some declarations, and clear idioms in many cases.
The most useful kind of comments are "why" comments, about why specific design trade-offs were chosen.
This encoding is left as an exercise for the reader.