Peter Verswyvelen wrote:
It would be fantastic to have a little practical real-world challenge
(like building a simple music system, or a simple multi-channel sound
mixer), and work this out in an imperative language, an
object-oriented language, a functional language, and maybe other
Python:
note1.time()
cursor1.time()
staff1.time()
(...)
So I'm thinking of moving to a scheme in Haskell using modules,
most types being defined in their own modules, and doing
qualified imports. Generic names like 'time' can be defined in
each module w/o clashing.
(...)
I would
My
experience with objects comes from Common List, Clean, Hasekell and
Nice. In all these languages, the function behavior is determined by
many objects. I think that this is more powerful and clear than the
Java way. In Nice one can see the superiority of type-driven behavior
over the Java dot