From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,b87849933931bc93 X-Google-Attributes: gid109fba,public X-Google-Thread: fac41,b87849933931bc93 X-Google-Attributes: gidfac41,public X-Google-Thread: 1108a1,b87849933931bc93 X-Google-Attributes: gid1108a1,public X-Google-Thread: 114809,b87849933931bc93 X-Google-Attributes: gid114809,public X-Google-Thread: 103376,b87849933931bc93 X-Google-Attributes: gid103376,public From: Brian Rogoff Subject: Re: OO, C++, and something much better! Date: 1997/02/24 Message-ID: #1/1 X-Deja-AN: 221195237 References: <5bphq4$5js@mulga.cs.mu.OZ.AU><5eka6l$bv1@nerd.apk.net> Content-Type: TEXT/PLAIN; charset=US-ASCII Mime-Version: 1.0 Newsgroups: comp.lang.eiffel,comp.lang.ada,comp.lang.c++,comp.lang.smalltalk,comp.object Date: 1997-02-24T00:00:00+00:00 List-Id: On 24 Feb 1997, Jon S Anthony wrote: > In article Brian Rogoff writes: > > > On 21 Feb 1997, Eric W. Nikitin wrote: > > > A language derived from Oberon, Lagoona, goes on to provide an additional > > > feature called categories which are distinct from type, but allow > > > different types to be related via similar behaviors. ( Categories > > > are similar to protocals in Objective-C and interfaces in Java ). > > > > Something similar to this is provided in Ada by using generic > > packages with empty bodies. For example > > Isn't this Lagoona category aspect basically the same as Class in Ada? > A family of related types? > > /Jon I can't say for sure, since I don't know Lagoona, and I don't know what a Lagoona "category" is. I looked at what it was being used for, and thought that it vaguely resembled an ML "signature", which I would translate into Ada using a null bodied generic package. "Category" is becoming one of those terms like "operator". I know the term from abstract algebra, but software folk use it in at least three ways: (1) The Lagoona way, new to me, and I still don't get it. Any Lagoona users care to help? (2) The way I know (and love), from abstract algebra (any number of books discuss this, the one by Hilton&Wu is where I learned it) (3) The Booch method uses the term for (in essence) Ada packages or C++ namespaces (Robert Martin's book is my favorite source for this stuff, even though I prefer Ada to C++). -- Brian