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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e55245590c829bef X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Warren Newsgroups: comp.lang.ada Subject: Re: Beginners question: Compound types, how-to? Date: Thu, 4 Nov 2010 14:30:32 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <86wroy58ff.fsf@gareth.avalon.lan> <86pqup5xfy.fsf@gareth.avalon.lan> <86y69d3rec.fsf@gareth.avalon.lan> <82lj5c5ecm.fsf@stephe-leake.org> Injection-Date: Thu, 4 Nov 2010 14:30:32 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="23100"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qJTp4/AmIdJII8QIl03MtmdPPNTPNtl8=" User-Agent: Xnews/5.04.25 X-Face: &6@]C2>ZS=NM|HE-^zWuryN#Z/2_.s9E|G&~DRi|sav9{E}XQJb*\_>=a5"q]\%A;5}LKP][1mA{gZ,Q!j Cancel-Lock: sha1:VGLehR3fTKUS1S6nvJJoyQqcmTc= Xref: g2news1.google.com comp.lang.ada:15218 Date: 2010-11-04T14:30:32+00:00 List-Id: Peter C. Chapin expounded in news:e5450e4b-25f6-427e-a746-9af30dad99b0@b19g2000prj.googlegroups.com: .. > That said, I don't use _Type universally. There are some names where > it just does not seem necessary. Integer is a good example. It's a > judgement call about which names are good without _Type and which are > not. However, I most definitely do not think _Type is "just noise." > > Peter I'm with you here. I don't like using _Type unless it is necessary. So if something is a Variable (in a Basic interpreter for example), then the type is Variable. The instance can then be a Short_Variable or Dim_Variable as appropriate (i.e. what kind of Variable). But for other objects like Terminal, I go with Terminal_Type and allow the single instance of it to be named Terminal. It's simply a practical matter. Warren