[Haskell-cafe] what I learnt from my first serious haskell programm

ajb at spamcop.net ajb at spamcop.net
Sun Mar 18 20:21:40 EDT 2007


G'day all.

Quoting David House <dmhouse at gmail.com>:

> Surely within a group of related types there'd be no overlapping names
> anyway?
[...]
> I like to prefix my record accessors with three letters that describe
> the type.

I do pretty much that too, but I wouldn't say that I "like" to do it.
You're replacing a namespace system with a naming convention.  If you
enjoy that sort of thing, you might be happier programming in C.

(Sorry, that was unfair.)

> I don't really see why anything more complex would be needed.

Famous last words.

Cheers,
Andrew Bromage


More information about the Haskell-Cafe mailing list