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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2078dddcdcd8d83 X-Google-Attributes: gid103376,public From: "John G. Volan" Subject: Re: Warning: Religious naming convention discussion :-) [was: assign help!!] Date: 1997/05/13 Message-ID: <33789FA9.3725@sprintmail.com>#1/1 X-Deja-AN: 241343552 References: <5kjvcv$evt@news.cis.nctu.edu.tw> <5kn8ko$jcc@top.mitre.org> <1997May7.201035.2439@nosc.mil> <33727EEA.2092@sprintmail.com> <5kuf1j$17vi@uni.library.ucla.edu> <3373666A.31DFF4F5@spam.innocon.com> <3373EAB5.73A0@sprintmail.com> <33751581.13A5@sprintmail.com> Reply-To: johnvolan@sprintmail.com Newsgroups: comp.lang.ada Date: 1997-05-13T00:00:00+00:00 List-Id: Robert I. Eachus wrote: > > In article dewar@merv.cs.nyu.edu (Robert Dewar) writes: > > Robert Dewar said: > > > In my programming the name clash that I most often come across > > is something like > > Parent : constant xxx := Parent (K); > > My reaction in those cases is to diagnose a misplaced use clause, That's not the only way this could happen. We might have a subsystem of child packages. A subprogram that has widespread utility within the subsystem might be declared high up in a root package, and a code snippet like this could be located down in a child package. Visibility to the contents of the root package comes for free, without any need for a use-clause. Would such an arrangement be "misplaced"? I wouldn't think so, I'd view it as a conscious design decision. ------------------------------------------------------------------------ Internet.Usenet.Put_Signature (Name => "John G. Volan", Home_Email => "johnvolan@sprintmail.com", Slogan => "Ada95: The World's *FIRST* International-Standard OOPL", Disclaimer => "These opinions were never defined, so using them " & "would be erroneous...or is that just nondeterministic now? :-) "); ------------------------------------------------------------------------