Peter Verswyvelen <bugf...@gmail.com> writes:

> On Sun, Nov 1, 2009 at 2:57 AM, Gregory Collins <g...@gregorycollins.net> 
> wrote:
>
>     Doing OO-style programming in Haskell is difficult and unnatural,
>     it's true (although technically speaking it is possible). That
>     said, nobody's yet to present a convincing argument to me why Java
>     gets a free pass for lacking closures and typeclasses.
>
> I might be wrong, but doesn't Java's concepts of inner classes and
> interfaces together with adapter classes can be used to replace
> closures and typeclasses in a way?

Maybe, in the same sense that a lawnmower engine strapped to a
skateboard is a replacement for a car: it takes you ten times as long to
get to your destination and you're cold and wet when you get there.

G
-- 
Gregory Collins <g...@gregorycollins.net>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to