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,e55245590c829bef X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!news.tornevall.net!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Beginners question: Compound types, how-to? Date: Mon, 01 Nov 2010 14:01:34 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: <86wroy58ff.fsf@gareth.avalon.lan> <86pqup5xfy.fsf@gareth.avalon.lan> <86y69d3rec.fsf@gareth.avalon.lan> NNTP-Posting-Host: 3396fd4c1eaeea953bbe572851c50395 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: 7ccc2336635c9f6a50d3e6ec8cb69c24 X-Complaints-To: abuse@tornevall.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10 X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: X-UserIDNumber: 1738 X-Validate-Post: http://news.tornevall.net/validate.php?trace=7ccc2336635c9f6a50d3e6ec8cb69c24 X-Complaints-Italiano: Non abbiamo padronanza della lingua italiana - se mandate una email scrivete solo in Inglese, grazie X-Posting-User: 0243687135df8c4b260dd4a9a93c79bd Xref: g2news2.google.com comp.lang.ada:16101 Date: 2010-11-01T14:01:34-07:00 List-Id: On 11/01/2010 12:59 PM, Shark8 wrote: > > I like the "_Type" more than the prefix of "The_" used in parameters > within the Booch book on reusable Ada components (I don't like how the > resultant calls look using named association). > > Push ( The_Stack => This_Stack, Item => Integer'(137) ); > vs > Push( Stack => This_Stack, Item => Integer'(137) ); Yes, prefixes are bad. Push (Onto => Operands, ... Type names are not the only names for which a S/W engineer should make the effort to think of good names. >> S/W engineering involves putting in the effort to think of good names for >> everything in your code. "_Type" is a kludge to avoid doing that thinking. >> > True enough. Well, if you're going to admit to not being a S/W engineer, then we can ignore anything you have to say :) -- Jeff Carter "Why don't you bore a hole in yourself and let the sap run out?" Horse Feathers 49