question: what do people think about the general topic of inheritance? my take on it so far is that inheritance apparently sounds like a good idea at first to some folks, but quickly turns into something of a nightmare if one is actually concerned with keeping a coherent semantics (so that (a) people can learn it (b) simulate it in their heads and (c) so you can have tools to check things maybe and (d) ultimately so the code using it sucks less -- things like LSP and Java Generics show how fubar it can easily be). so people have come up with mixins, and then traits. and interfaces. and stuff.
mainly, i just hope that whatever OO Clojurians finally coalesce towards doesn't make the same mistakes that have already been made by plenty of other languages, from old C++ through to new Scala. (not that i have the Programming Language Theory chops to help much there, myself.) sincerely. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---