
24 Mar
2009
24 Mar
'09
9:59 p.m.
Erik de Castro Lopo ha scritto:
Manlio Perillo wrote:
I was speaking about the best way to write a function, so that it may help someone who is learning Haskell.
I've been learning Haskell for about 3 months.
I think its a mistake to write code so that its easy for someone learning Haskell to read it. Code should be written to be easily read by other experienced users of the langauge.
Note that to write code so that its easy to read, does not mean rewrite the code as I did in the example. It also means to add good comments, in the right places.
Erik
Manlio