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,c39ad3e35a7690a9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.221.4 with SMTP id qa4mr3089934pbc.7.1329522761562; Fri, 17 Feb 2012 15:52:41 -0800 (PST) Path: wr5ni37489pbc.0!nntp.google.com!news2.google.com!postnews.google.com!r1g2000yqk.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Convention for naming of anything Date: Fri, 17 Feb 2012 15:52:41 -0800 (PST) Organization: http://groups.google.com Message-ID: <8e9750ec-add5-442d-b4f3-597235213d26@r1g2000yqk.googlegroups.com> References: NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 X-Trace: posting.google.com 1329522761 10301 127.0.0.1 (17 Feb 2012 23:52:41 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 17 Feb 2012 23:52:41 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r1g2000yqk.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: ARLUEHNKC X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; .NET4.0C),gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-02-17T15:52:41-08:00 List-Id: On Feb 16, 9:44=A0am, Yannick Duch=EAne (Hibou57) wrote: > Le Thu, 09 Feb 2012 22:10:12 +0100, Yannick Duch=EAne (Hibou57) > a =E9crit: > > > Hi people out there, > > With functional representation in mind, when an object X' is a value > derived from an object X in a recursive algorithm, which way do you name > both X and X', as the Prime symbol is not allowed in Ada names? > > =A0 * X1 and X2 ? > =A0 * X_1 and X_2 ? > =A0 * X and X2 ? > =A0 * X and X_2 ? > =A0 * X and X_Prime ? > =A0 * X and New_X ? > =A0 * X and Derived_X ? It looks like Unicode characters 02B9 and 02CA are both allowed in identifiers. Maybe you could one of those as your prime symbol? -- Adam