Path: utzoo!utgpu!water!watmath!clyde!bellcore!tness7!tness1!sugar!peter
From: peter@sugar.UUCP (Peter da Silva)
Newsgroups: comp.sys.amiga
Subject: Re: How 'Bout HyperCard!
Message-ID: <2073@sugar.UUCP>
Date: 2 Jun 88 04:02:05 GMT
References: <15372@uflorida.cis.ufl.EDU> <31411@linus.UUCP> <3768@cbmvax.UUCP> <1002@sandino.quintus.UUCP>
Organization: Sugar Land UNIX - Houston, TX
Lines: 31

In article ... pds@quintus.UUCP (Peter Schachte) writes:
[ that he wants to do all sorts of wonderful object-oriented stuff ]

OK, Peter. We're agreed that cool object-oriented stuff is a Good Thing.
Talking about it won't do it. Hows about implementing something? The
framework for your object-oriented IPC would be a good start. Put it
into the competition with Pete Goodeve's simpler IFF-oid code.

Or code a simple o-o graphics system. Thanks to LoadSeg() it should'nt
be to hard to implement the object libraries. At least lay out how an
object and accompanying methods should look. Maybe a coded set of entry
points: you LoadSeg() the class and pass it a message. The reply to the
message contains an array containing the addresses of each entry point and
the names of the methods those entry points use. It's the responsibility
of the class to load any superclasses.

SendMethod then becomes:

	Look up address of method in class.
	If it's not there, go to superclass and keep going.
	Call method with an array containing object[s].

Could all be done in 'C'.

Disclaimer: this is all off the top of my head. I've not done a whole lot
of object-oriented programming. Peter Schachte is obviously way ahead of me
here.
-- 
-- Peter da Silva      `-_-'      ...!hoptoad!academ!uhnix1!sugar!peter
-- "Have you hugged your U wolf today?" ...!bellcore!tness1!sugar!peter
-- Disclaimer: These may be the official opinions of Hackercorp.