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!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: _Type vs no _Type Date: Fri, 05 Nov 2010 18:28:09 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <86wroy58ff.fsf@gareth.avalon.lan> <86pqup5xfy.fsf@gareth.avalon.lan> <86y69d3rec.fsf@gareth.avalon.lan> <82lj5c5ecm.fsf@stephe-leake.org> <82zktq4n9b.fsf_-_@stephe-leake.org> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1288996089 12977 192.74.137.71 (5 Nov 2010 22:28:09 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 5 Nov 2010 22:28:09 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:osgfRpTC4Y95MJ6Ue2A4urN8eCg= Xref: g2news2.google.com comp.lang.ada:16266 Date: 2010-11-05T18:28:09-04:00 List-Id: "Vinzent Hoefler" writes: > On Fri, 05 Nov 2010 18:24:09 +0100, Robert A Duff wrote: > >> By the way, I don't like case sensitivity, and I don't like >> case insensitivity, either. A better rule is the one >> implemented by GNAT in its default mode (or with -gnatwe). > > ? "-gnatwe" is "treat warning as errors" (at least here, GNAT GPL2010). Right. I don't think there's a big difference between errors and warnings in practise. > Do you mean the rule, that once you declared an identifier, you have > to stick to its casing? Yes. It all gets very complicated with Unicode, but I mostly stick with 7-bit ASCII, so I'm reasonably happy with this GNAT rule. > What do you call that? "Case stickiness"? I don't have a name for it. "Case stickiness" is reasonable, I suppose. - Bob