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=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a05:620a:147:: with SMTP id e7mr5104021qkn.247.1561572001663; Wed, 26 Jun 2019 11:00:01 -0700 (PDT) X-Received: by 2002:a9d:6194:: with SMTP id g20mr4057493otk.149.1561572001277; Wed, 26 Jun 2019 11:00:01 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!m24no3187880qtm.0!news-out.google.com!e20ni160qta.0!nntp.google.com!m24no3187878qtm.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 26 Jun 2019 11:00:00 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.77.182.20; posting-account=W2gdXQoAAADxIuhBWhPFjUps3wUp4RhQ NNTP-Posting-Host: 76.77.182.20 References: <86h88obeu0.fsf@gaheris.avalon.lan> <39e749cd-de5c-44fa-b8ec-50d36f3bd52c@googlegroups.com> <87imsv4k3z.fsf@nightsong.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <163e7f79-cb74-4637-ae9c-b19cb052fa90@googlegroups.com> Subject: Re: Latest suggestion for 202x From: Stephen Leake Injection-Date: Wed, 26 Jun 2019 18:00:01 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:56777 Date: 2019-06-26T11:00:00-07:00 List-Id: On Monday, June 24, 2019 at 12:16:51 AM UTC-7, Niklas Holsti wrote: > That said, I do find it a little irksome that Ada's rules force one to > invent different, case-insensitive names for types on the one hand, and > variables on the other. This leads to conventions such as adding "_T" to > all type names, which seem ugly and cumbersome at first. But I don't > have any suggestions for a better solution. As has been suggested on this list before, one solution to this is to prefix the type name with the package name: package Cool_Thing is type Thing is tagged record ... end record; function Do_It (Thing : in Cool_Thing.Thing) return Integer; It's still only syntax noise, but it appears in fewer places than the _T suffix. -- Stephe