On Tue, 29 Jun 2004, Jonadab the Unsightly One wrote: > Austin Hastings <[EMAIL PROTECTED]> writes: > > > Of course, how hard can it be to implement the .parent property? > > .parent and also .children, plus .moveto and .remove (which doesn't > actually destroy the object but sets its parent to undef, basically, > cleaning up the .children property of its parent), and a couple of > extra routines for testing ancestor relationships and stuff, but...
Sure, no big deal. Also, don't forget the trival matter of moving from a class-based object system to a prototype based one. (Since right now objects don't *have* parent objects (just parent classes), or child anythings) While making things still look like they're a class-based system for all the code and programmers who're used to that. No problems there, I'm sure. Patches, of course, are welcome. Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk