[Haskell-cafe] Point-free style (Was: Things to avoid)
Bernard Pope
bjpop at cs.mu.OZ.AU
Wed Feb 16 18:30:18 EST 2005
On Mon, 2005-02-14 at 15:56 +0000, Simon Marlow wrote:
>
> I don't think a general "things to avoid" section should be advocating
> not naming things... in fact I would advocate the reverse. Name as many
> things as possible, at least until you have a good feel for how much
> point-freeness is going to result in code that you can read again in 6
> months time.
Another reason to name more things is that it can make debugging easier,
especially in something like buddha where it tells you:
name args => result
Also, avoiding excessive higher-order code can make debugging easier
too.
Cheers,
Bernie.
More information about the Haskell-Cafe
mailing list