Are pattern guards obsolete?

Yitzchak Gale gale at sefer.org
Wed Dec 13 08:45:17 EST 2006


Philippa Cowderoy wrote:
> This is what I get for replying straight away!

Oh, no, I'm happy that you responded quickly.

> I think my point is that I'm not aware of many people
> who actually think this is a problem or get confused.

Well, I don't mean that this is something that experienced
Haskell programmers will stop and scratch their heads
over.

But the more of these kinds of inconsistencies you have,
the worse it is for a programming language. The effect
is cumulative. When there are too many of them, they make
the language feel heavy, complex, and inelegant. They
increase the number of careless errors. They put
off beginners.

Regards,
Yitz


More information about the Haskell-prime mailing list