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-Thread: 103376,487310d7e1471eac X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 12 Oct 2007 11:51:19 +0200 From: Georg Bauhaus User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: parent package referring to child References: <1191997397.865251.322480@d55g2000hsg.googlegroups.com> <1192095936.309410.62410@k79g2000hse.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <470f43a2$0$30370$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 12 Oct 2007 11:51:30 CEST NNTP-Posting-Host: 09ab5070.newsspool4.arcor-online.net X-Trace: DXC=^;A_cNj6_4[=>bdbdS?M0Y4IUKUR_5YA:ho7QcPOVSk3=5ciSDOP\XN Jeffrey R. Carter wrote: > > package P is > type T is ... > > procedure P1 (V : [mode] T ...); > procedure P2 (V : [mode] T ...); > ... -- Additional operations as needed. > end P; > > why do some seem to think it's OK to have T declared here if the > declaration is short, but not if it is (perceived to be) long? It's the > same concept in both cases and should, I think, be implemented in a > uniform way. A number of coding styles seem to emphasise quick pattern recognition by humans. (Not to mention the all important typographical issues, viz. dresscode). Short packages can be perceived to have advantages for the quick, pragmatical programmer when viewed in dumb terminals. In program structure, form and function may have relations that are more intricate than technical views might suggest. The influential factors are outside the programming language, though. I guess the partial classes of C# will help with this goal, too.