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: a07f3367d7,25d835bb9a4a003f X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Types, packages & objects : the good old naming conventions question (without religious ware) Date: Thu, 29 Oct 2009 20:01:08 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <4ae9dade$0$6551$9b4e6d93@newsspool4.arcor-online.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1256860862 30841 192.74.137.71 (30 Oct 2009 00:01:02 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 30 Oct 2009 00:01:02 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:6Vf4gpsmgFhpFbMS7kfXRTGDJzU= Xref: g2news2.google.com comp.lang.ada:8866 Date: 2009-10-29T20:01:08-04:00 List-Id: Georg Bauhaus writes: >... For example, the role > can be given as "just any object" of the type. I would not be > comfortable with such an answer... In some cases, "just any object" is the right answer. No need for discomfort. For example, parameters of general-purpose procedures. function To_Upper(X: String) return String; -- Convert X to upper case. There's nothing interesting to say about X, except that it's a String. Just any String. Trying to come up with a meaningful name for X will just generate noise. In the standard package Ada.Characters.Handling, it's called Item, which is no more meaningful than X. In the GNAT front end, there are huge numbers of parameters declared as: N : Node_Id - Bob