[ANN] HOOT: Hacked Object Oriented Transcript

Dick Kriesel dick.kriesel at mail.com
Mon Feb 27 08:08:38 EST 2006


On 2/27/06 4:00 AM, "Geoff Canyon" <gcanyon at inspiredlogic.com> wrote:

> HOOT takes advantage of the container based inheritance that
> Revolution provides, by representing your class hierarchy as a set of
> nested groups on a card. Each group is named for the class it
> represents. Groups are nested to make the enclosed group a subclass
> of the group that contains it.

Yeah, that's the idea!  Thanks, Geoff.  I'll try it out...

-- Dick


On 2/26/06 12:35 PM, "Dick Kriesel" <dick.kriesel at mail.com> wrote:

> Another approach distinguishes between Rev objects and domain objects, and
> creates a Rev group for each domain object, with the new group's owner being
> the domain object's class.  A domain class has a Rev group whose owner is
> the superclass.  Then single inheritance, with inherited scripts, is nearly
> free when one sends a message to any domain object's group.
> 
> A new stack, according to "Get Info" on OS X, takes 4KB on disk.  Adding
> 1000 groups makes the stack take 84KB.  That's 80 bytes per domain object.
> On my 2GHz PowerMac, that takes 8 milliseconds per domain object.
> 
> Simple, cheap, and effective, right?





More information about the use-livecode mailing list