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,a50a3c40267219cc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-15 16:12:30 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!212.177.105.133!news.mailgate.org!zur.uu.net!ash.uu.net!xyzzy!nntp From: Jeffrey Carter Subject: Re: Why not combine Ada and C++? X-Nntp-Posting-Host: e246420.msc.az.boeing.com Content-Type: text/plain; charset=us-ascii Message-ID: <3BCB6830.1B10595F@boeing.com> Sender: nntp@news.boeing.com (Boeing NNTP News Access) Content-Transfer-Encoding: 7bit Organization: The Boeing Company X-Accept-Language: en References: <3105e154.0110150021.32ff5426@posting.google.com> <9qeg5r$266$1@trog.dera.gov.uk> <9qesee$s5b$1@nh.pace.co.uk> <3BCB0C10.636D110E@icn.siemens.de> <9qf394$1rt$1@nh.pace.co.uk> <9qfg4v02t20@drn.newsguy.com> Mime-Version: 1.0 Date: Mon, 15 Oct 2001 22:50:24 GMT X-Mailer: Mozilla 4.73 [en]C-CCK-MCD Boeing Kit (WinNT; U) Xref: archiver1.google.com comp.lang.ada:14618 Date: 2001-10-15T22:50:24+00:00 List-Id: "Robert*@" wrote: > > In article <9qf394$1rt$1@nh.pace.co.uk>, "Marin says... > > > > If you're depending on character case > >having an impact on meaning, then this is inherently risky. > > in some cases, case sensitivity can be very good. > > for example, in Java, the convention is to use lower case first letter for > a name of a method. and Upper case first letter for a Class and interface > name, lower case all letters for a package name. > > This is very usefull, becuase if you'r reading code, and you see an Upper case > first letter on an identifier, then you know without having to look aroud, that > the name represent a Class name. and the same for method names. When you come across code that does not adhere to this convention, you are going to make incorrect assumptions about what it means. This is what happens when you rely on something that is "inherently risky": errors. Of course, there are those who enjoy spending weeks debugging errors that a case-insensitive language would not allow. -- Jeffrey Carter