Andreas Pauley <[email protected]> writes:

> Do you know of an exercise where classes would add value? Something
> fairly small, roughly similar in size to this exercise.

AFAICR, the motivating example for OO (in Simula) was simulating an
environment where different entities interact - I think the case was
queues in a post office, where object represents the door, customers,
tellers, etc.  Perhaps something along those lines?

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to