Re: What databases have taught me
Date: 23 Jun 2006 12:31:14 -0700
Bruno Desthuilliers wrote:
> Quite possible - I use Python instead of Smalltalk, [...]
> And objects are in no way tightly coupled to their classes - it's
> perfectly legal to add/delete/replace attributes (including methods) on
> a per-object basis,, to dynamically modify a class, to dynamically
> create classes at runtime, or even to dynamically change the class of an
> object (which can be tricky and happens to be of restricted practical
> use, but still can be handy). I really don't feel like being "inevitably
> and irrecovably imprisoned in a hierarchical strait-jacket", to quote
> the OP.
Agreed. If you want to see the language Java should have been, if Sun had the sense evolution gave a gnat, look at Nice. Of course, Lisp's generics and CLOS and MOP offer even more, but Nice is... well, nice. Which might be why it'll never take off, but we can dream.