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-03 06:48:14 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!newsfeed.freenet.de!news-feed1.de1.concert.net!fu-berlin.de!uni-berlin.de!213.200.246.247!not-for-mail From: Vinzent Hoefler Newsgroups: comp.lang.ada Subject: Re: Case sensitivity (was Re: no title) Date: Tue, 03 Jun 2003 15:46:53 +0200 Organization: JeLlyFish software Message-ID: References: <0vGdnQFmVPoZj0Gj4p2dnA@gbronline.com> <1054647054.761122@master.nyc.kbcfp.com> NNTP-Posting-Host: 213.200.246.247 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: fu-berlin.de 1054648093 10163252 213.200.246.247 (16 [175126]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:38472 Date: 2003-06-03T15:46:53+02:00 List-Id: Hyman Rosen wrote: >if you are doing the "telephone test" for code readability (that >is, seeing if someone else can understand the code upon hearing >it read instead of looking at it). Never heard of that. Interesting idea anyway. ;-) >But since Ada already allows >one English word to stand for multiple things, I don't find this >argument convincing. Well, even English allows one word standing for multiple things so that the actual meaning depends on the context. I'd say, in most areas the context is Ada would be more often clear (in the end we are talking about overloading here) than it would be in C (consider BUF_LEN vs. buf_len, quite common I'd say). Well, my personal view is probably distorted. Personally I'd rather would like Ada to be case-sensitive with the restriction that identifiers should never be the same, regardless of how they are written, so I wouldn't allow Buf_Len and BUF_LEN to be in the same view at the same time, but OTOH I would clearly distinct between the two. This would render the "advantages" of case-sensitivity completely useless but force the programmers to have a consistent style in all places without any style check or pretty printers. :-P BTW, you might have fun trying for a "telephone test". As you can probably guess from the name, it's C. ;-) Vinzent. --=20 Parents strongly cautioned -- this posting is intended for mature audiences over 18. It may contain some material that many parents would not find suitable for children and may include intense violence, sexual situations, coarse language and suggestive dialogue.