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-18 13:25:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!proxad.net!news-hub.cableinet.net!blueyonder!shale.ftech.net!news.ftech.net!dispose.news.demon.net!news.demon.co.uk!demon!pogner.demon.co.uk!zap!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Why not combine Ada and C++? Date: 18 Oct 2001 20:53:04 +0100 Organization: Pushface Message-ID: 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> <3BCB6830.1B10595F@boeing.com> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 X-Trace: news.demon.co.uk 1003436665 nnrp-10:5512 NO-IDENT pogner.demon.co.uk:158.152.70.98 X-Complaints-To: abuse@demon.net NNTP-Posting-Date: 18 Oct 2001 19:53:04 GMT X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:14917 Date: 2001-10-18T19:53:04+00:00 List-Id: Jeffrey Carter writes: > > 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. IIRC Smalltalk requires that Classes (and other globals) begin with a capital, locals begin with a minuscule. At least there's no confusion there!