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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d10596e187e90822 X-Google-Attributes: gid103376,public From: "Vladimir Olensky" Subject: Re: Private Children Date: 1999/06/23 Message-ID: <7kra6p$t5h$1@remarQ.com>#1/1 X-Deja-AN: 493046459 References: <7klja3$c0p$1@nnrp1.deja.com> <376E70A5.F77E558D@averstar.com> <376E9EEB.322A3F39@averstar.com> <7kmoe4$o83@dfw-ixnews15.ix.netcom.com> <7kr4pc$bb9@dfw-ixnews15.ix.netcom.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: newsabuse@remarQ.com X-Trace: 930163737 HXI3FRZSOA5C9C7F8C usenet87.supernews.com Organization: Posted via RemarQ, http://www.remarQ.com - Discussions start here! Newsgroups: comp.lang.ada Date: 1999-06-23T00:00:00+00:00 List-Id: Richard D Riehle wrote in message <7kr4pc$bb9@dfw-ixnews15.ix.netcom.com>... >In article , > dale@cs.rmit.edu.au (Dale Stanbrough) wrote: > >This example follows the Modula-2 convention for information >hiding using opaque types. Note that Modula-3 improves upon this >through reference types that are followed with a reserved word, >REVEAL,in the IMPLEMENTATION MODULE. There is very interesting article about using M3 opaque types. It was published in Dr.Dobb's journal in October 1995 and now it is available online at http://www.research.digital.com/SRC/modula-3/html/partial-rev/index.html It includes C++, Ada 95 and M3 examples. I think everyone find this article very interesting. Ada private child packages come very close to M3 opaque types. Regards, Vladimir Olensky