At 02:25 PM 6/27/2001 -0400, John Porter wrote:
>Dan Sugalski wrote:
> > * Objects are bigger since they all need an .ISA property, if we toss the
> > per-class @ISA
>
>I certainly like the idea of instance-level inheritance (since
>it's the only way to go in prototype-based OO), but I hope we
>wouldn't sacrifice class-level inheritance for it.
>We could have both, right?  We could let classes be first-class
>objects, eh?

That's why there were three options. :) Pick one and toss either some speed 
or some memory.

Personally, the combination per-object .ISA property and per-class @ISA (or 
just give the class its own property hash) seems the most perlish. It's got 
the least size cost, but it's both the most expensive in terms of 
worst-case time and complexity.

Whatever get's mandated is fine by me. I don't do any of that newfangled OO 
stuff anyway. :)

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to