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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e94a7e4f6f888766 X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Self-referential types Date: 1999/10/13 Message-ID: <7u25pu$p4k$1@nnrp1.deja.com>#1/1 X-Deja-AN: 536238945 References: <7ttb4a$8mq$1@nnrp1.deja.com> <3802f2db_2@news1.prserv.net> <3803B5E3.F96A6DD4@mitre.org> <3803c8bc_2@news1.prserv.net> X-Http-Proxy: 1.0 x34.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Oct 13 14:43:14 1999 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.6 [en] (WinNT; I) Date: 1999-10-13T00:00:00+00:00 List-Id: In article <3803c8bc_2@news1.prserv.net>, "Matthew Heaney" wrote: > In article <3803B5E3.F96A6DD4@mitre.org> , "Robert I. Eachus" > wrote: > > type Digital_Clock (...) is > limited record > Master_Obs : Master_Obs_Type (Digital_Clock'Access); > Slave_Obs : Slave_Obs_Type (Digital_Clock'Access); > Control : Control_Type (Digital_Clock'Access); > end record; Ok...What does this buy you over using non-anonomous access fields and an initilization? And how does this constitute MI? > Some guys use public taggedness everywhere with gay abandon. This is > wrong. Don't use taggedness unless you need to, and if you do, then > hide it in the private region if you can. Hmm. Generally I do that so that someone who wants to extend a new type that I haven't thought of doesn't have to put it in a child package. But admittedly, I don't myself derive new types without putting them in child packages. So perhaps I'm allowing too much freedom? > I will be discussing this technique this Sunday (17 Oct 99) during my > Design Patterns tutorial, at this year's SIGAda conference. Hmmm. It would be nice to attend that. But I don't think I could sell enough candy bars at work in the next couple of days to pay for the trip. :-) -- T.E.D. Sent via Deja.com http://www.deja.com/ Before you buy.