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,e55245590c829bef X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!news.netcologne.de!newsfeed-fusi2.netcologne.de!newsfeed.straub-nv.de!uucp.gnuu.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Wed, 03 Nov 2010 13:31:24 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Beginners question: Compound types, how-to? References: <86wroy58ff.fsf@gareth.avalon.lan> <86pqup5xfy.fsf@gareth.avalon.lan> <86y69d3rec.fsf@gareth.avalon.lan> <82lj5c5ecm.fsf@stephe-leake.org> <79ed13b7-4c55-40c4-9f66-e30ed94e5591@e14g2000yqe.googlegroups.com> <4cd0b0ed$0$6775$9b4e6d93@newsspool3.arcor-online.net> <18xidnow90tjo$.5sykmte8t7re$.dlg@40tude.net> In-Reply-To: <18xidnow90tjo$.5sykmte8t7re$.dlg@40tude.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4cd1561c$0$7662$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 03 Nov 2010 13:31:24 CET NNTP-Posting-Host: 29298e13.newsspool1.arcor-online.net X-Trace: DXC=1Z]k^=4Rd2;85[]]\]T081ic==]BZ:af>4Fo<]lROoR1<`=YMgDjhg2dVcF>55@P_1nc\616M64>:Lh>_cHTX3j==@fFn1SK9f6 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:16133 Date: 2010-11-03T13:31:24+01:00 List-Id: On 03.11.10 09:58, Dmitry A. Kazakov wrote: > On Wed, 03 Nov 2010 01:46:37 +0100, Georg Bauhaus wrote: > >> Sill, a different grammar(!) might lead to better visual >> distinction. (Which words are types' names etc.) >> A grammatical approach seems a lot better to me than >> injecting a mechanical sublanguage into identifiers!!! > > Natural grammar use article and/or inflexion to separate instances and > groups. So: Natural grammar, OK... X drove a dagger into his leg. -- accusative :-) Y used the kitchen knife as weapon. -- instrumental procedure Pick_for_Attack (Self : in out Person; Instrument : Weapon); procedure Fight -- symmetric relation (now) (Self : in out Person: Other : in out Person); > procedure Attack (A_Weapon : Weapon); > > or > > procedure Attack (Weapon : Weapon_Type); There is no end to constructing contexts, very general ones and very specific ones, and hardly ever complete. Some will prefer one or the other. Others will present an example with generality of wording reversed. That's not statistical evidence. I'll prefer convincing evidence when deciding for or against a set of grammar rules. But accusative and instrumental are good examples. Consider verbs and adverbs in some programming languages.