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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,577df5d4a0e88785 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-12-16 21:53:16 PST Path: supernews.google.com!sn-xit-02!supernews.com!newsfeed.online.be!fr.clara.net!heighliner.fr.clara.net!teaser.fr!enst!enst.fr!not-for-mail From: "Robert C. Leif, Ph.D." Newsgroups: comp.lang.ada Subject: RE: Bad coding standards Date: Sat, 16 Dec 2000 21:49:33 -0800 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 977032394 57642 137.194.161.2 (17 Dec 2000 05:53:14 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sun, 17 Dec 2000 05:53:14 +0000 (UTC) To: Return-Path: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: <91efu3$v0h$1@nnrp1.deja.com> Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: comp.lang.ada mail<->news gateway Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: supernews.google.com comp.lang.ada:3212 Date: 2000-12-16T21:49:33-08:00 From: Bob Leif To: Robert Dewar et al. "but in a decent system where this information is immediately at hand I see no possible advantage in this kind of redundancy." 1) I was not using GNAT when I did this. 2)I have no guarantee that for every place my source text is used that the above facilities will be available. and 3) I do this mostly for package renames. Very often, I will rename a subprogram from a withed package or a parent library in a specification or body. However, that is almost entirely to make it more readable in its present context. A simple, portable solution would be to employ XML for the Ada source text and include hypertext links to the withed packages and their components. I see a good beginning of this with the present work on Ada to HTML. The combination of XML and ASIS will provide a very large advantage for the creation of Ada environments and tool-sets. The use of XML provides the interesting possibility of including a time-stamp attribute in each XML block. This might permit the development of an incremental compiler. -----Original Message----- From: comp.lang.ada-admin@ada.eu.org [mailto:comp.lang.ada-admin@ada.eu.org]On Behalf Of Robert Dewar Sent: Friday, December 15, 2000 5:19 PM To: comp.lang.ada@ada.eu.org Subject: RE: Bad coding standards In article , comp.lang.ada@ada.eu.org wrote: > --*********Table of Contents******** > Package Analyze_Type_Declaration renames > Semantics_For_RM_Ch_3.Analyze_Type_Declaration; > --*********End Table of Contents******** > --I presumed Analyze_Type_Declaration was a package This kind of garbage renaming might I suppose be useful in a system where you have trouble telling where an entity resides, but in a decent system where this information is immediately at hand I see no possible advantage in this kind of redundancy. In particular, repeating parameters of procedures in every unit using the procedure seems particularly ugly to me. Imagine the impact if you added a default parameter! Sent via Deja.com http://www.deja.com/