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 13:37:50 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Robert*@ Newsgroups: comp.lang.ada Subject: Re: Why not combine Ada and C++? Date: 15 Oct 2001 13:15:27 -0700 Organization: Newsguy News Service [http://newsguy.com] Message-ID: <9qfg4v02t20@drn.newsguy.com> 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> NNTP-Posting-Host: p-363.newsdawg.com X-Newsreader: Direct Read News 2.90 Xref: archiver1.google.com comp.lang.ada:14595 Date: 2001-10-15T13:15:27-07:00 List-Id: 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. This means you can write Car car= new Car("buick"); and it is clear as a bird which is the type and which is the variable. (In Ada, you have to add "_Type" to the type to try to distinguish things). This is a convention, not enforced by the language, but it is so strong, that any java programmer cought not doing it, will be immeadiatly taken out and shot in clear day light without a question being asked :) Myself, I prefer case sensitive. But it is not a very important feature, there are more important things to look at first. But if I am designing a new lang, i'd make case sensitive.