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,21a8034919747a69 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!attbi_s21.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Splitting packages in per-procedure separate files References: <2007021017501616807-sjs@essexacuk> In-Reply-To: <2007021017501616807-sjs@essexacuk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s21 1171136169 12.201.97.213 (Sat, 10 Feb 2007 19:36:09 GMT) NNTP-Posting-Date: Sat, 10 Feb 2007 19:36:09 GMT Organization: AT&T ASP.att.net Date: Sat, 10 Feb 2007 19:36:09 GMT Xref: g2news2.google.com comp.lang.ada:9236 Date: 2007-02-10T19:36:09+00:00 List-Id: Stephen Sangwine wrote: > On 2007-02-10 16:23:12 +0000, Francesco Bochicchio > said: > >> due to coding standards which were not enforced when someone else coded, >> I now have to split the packages of a 20000 LOC ADA program, putting a >> single procedure per file (using the separate clause). > > 20,000 LOC is quite a large program. If it has all the procedures declared > immediately within the main program declarative part that would be quite an > un-Ada way to have structured the code. > > Is it really written like that? He said "/packages/ of a 20000 LOC ADA [sic] program [emphasis added]", so clearly it's not all in the main procedure. -- Jeff Carter "C's solution to this [variable-sized array parameters] has real problems, and people who are complaining about safety definitely have a point." Dennis Ritchie 25