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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8d472879e3f609e0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-02 08:42:57 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Case sensitivity (was Re: no title) Date: Mon, 2 Jun 2003 15:42:57 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1054568577 25648 129.241.83.78 (2 Jun 2003 15:42:57 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Mon, 2 Jun 2003 15:42:57 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:38369 Date: 2003-06-02T15:42:57+00:00 List-Id: Sergey Koshcheyev wrote: > > Of course, one can usually find synonyms, so maybe you just didn't > notice the need when you had it :-) But sometimes synonyms don't come > so easily to mind, or are non-standard names for standard things (for > example, one can use Interval instead of Range, but it then might make > the reader (me) wonder whether an Interval is the same as Ada range, > or if it's an open interval, etc.). Well I usually make descriptive variables. I mean if I needed to use Range I would more likely call it Concentration_Range (or Conc_Range) ad Voltage_Range etc.. Then you have your range and it also tell you a bit more what range it is. > Doesn't seem to me like a useful naming convention :-) Have you > actually encountered anything like this in real code? But this is the problem with case sensitivity. > > I agree, humans can get used to things much worse. I just find it > irritating sometimes. Also when I look through AdaGIDE source for > example, I see some of the keywords are in uppercase, some are in > lowercase, identifiers look sometimes Likethis, sometimes LikeThis, > sometimes Like_This... Well, one can probably get used even to this. Well being slightly annoyed is better than having a buggy code to annoy over ;-) But I think I would be more annoyed in a case sensitive language than you in a case insensitive :-) PS: Note Ada is case sensistive. It is not ADA nor ada, but the case sensitivity goes no further :-) -- Preben Randhol http://www.pvv.org/~randhol/