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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d927b7ea9b65580a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-09 06:34:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!washdc3-snf1!news.gtei.net!cyclone1.gnilink.net!wn11feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3DCD1CB6.4010207@worldnet.att.net> From: Jim Rogers User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Style: always declare subrountines? References: <3dccc023$0$304$bed64819@news.gradwell.net> <3dcd1752$0$305$bed64819@news.gradwell.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 09 Nov 2002 14:34:54 GMT NNTP-Posting-Host: 12.86.32.175 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1036852494 12.86.32.175 (Sat, 09 Nov 2002 14:34:54 GMT) NNTP-Posting-Date: Sat, 09 Nov 2002 14:34:54 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:30644 Date: 2002-11-09T14:34:54+00:00 List-Id: Victor Porton wrote: > [Posted and mailed] > > In article , > sk writes: > >>Hi, >> >> >>>... an internal subrountine with the same specification >>>as a not yet implemented public procedure ... >>> >>The "internal subroutine" IS the implementation of the >>"public procedure". >> >>You will not be permitted, by the compiler to do the >>following ... >> > > You misunderstood. I'm about the case when one has forgotten > to write the definition of the "public procedure", but > written in the body a "private procedure" with the same > specification. > I personally do not think you should create style rules to try to cover for bad design. Instead, you should improve your design process. Your design process should make sure your package specifications are correct before you build your package bodies. Jim Rogers