[Haskell-cafe] A functional programming solution for Mr and Mrs Hollingberry

Richard O'Keefe ok at cs.otago.ac.nz
Wed May 23 23:37:19 CEST 2012

On 21/05/2012, at 5:33 AM, Andreas Pauley wrote:
> With this in mind I've created a programming exercise where I imagine
> an OO programmer would use an object hierarchy with subtype
> polymorphism as part of the solution.

Being unfamiliar with git, I've submitted an AWK answer by e-mail.

I've used quite a few OO languages.  I like to think that I *am*
an OO programmer.  But this exercise struck me from the beginning
as something where classes would add nothing but bulk.  As a fan
of Smalltalk, I have to say that the Smalltalk version confirmed
this for me; a Smalltalk solution for this exercise could be a lot
smaller than that one if it _didn't_ introduce new classes.

More information about the Haskell-Cafe mailing list