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,8b8748382fcfacc1 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: friend classes in ada95 Date: 2000/04/19 Message-ID: <8dld4h$ljs$1@nnrp1.deja.com>#1/1 X-Deja-AN: 613332132 References: <38F6B617.34E216A7@emw.ericsson.se> <38F887AE.8CDA24E0@acm.org> <8dc8oi$kda$1@nnrp1.deja.com> <38FBBC72.7FDE6583@research.canon.com.au> <8dh37m$qef$2@wanadoo.fr> <38FCD19F.49DD6519@lmco.com> X-Http-Proxy: 1.0 x35.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Apr 19 22:48:54 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-04-19T00:00:00+00:00 List-Id: In article <38FCD19F.49DD6519@lmco.com>, John Rusnak wrote: > Note that it is recommended in Ada as a matter of good style > NOT to put more than one tagged type in a package. (See > Section9.6 of the Styl Guide). And I have to agree with this > design choice. When I do have to put a seond tagged type in a > package, I generally place it within the > context of an internal (child?) package. I find this seriously misguided advice, there is no reason to treat tagged types specially here. Putting multiple related types into a package often makes sense, whether or not they are tagged. Sent via Deja.com http://www.deja.com/ Before you buy.