[Haskell-cafe] The problem with abstraction (Was: monte carlo
afalloon at synopsys.com
Thu Aug 16 15:09:24 EDT 2007
Chad Scherrer wrote:
> I'm starting to think the power of abstraction is a blessing and a
> curse. Haskell's abstraction mechanisms are so powerful that it's
> generally possible to come up with a way to solve a given problem
> elegantly and efficiently. On the other hand, if a problem isn't so
> well studied, the bulk of the work is in finding the right
> abstraction, which forces generalization beyond what would otherwise
> be needed (though it'll be easier the next time!).
I agree with you, which is why I especially liked this post by Claus
Reinke that shows how you work from the "obvious" brute-force code and
apply small transformations to come up with the beautiful abstracted code.
More information about the Haskell-Cafe