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 12:44:11 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!nntp.abs.net!newspeer.monmouth.com!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Case sensitivity (was Re: no title) Date: 03 Jun 2003 15:44:07 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <0vGdnQFmVPoZj0Gj4p2dnA@gbronline.com> <1054647054.761122@master.nyc.kbcfp.com> <1054651042.211055@master.nyc.kbcfp.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1054669447 27505 199.172.62.241 (3 Jun 2003 19:44:07 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Tue, 3 Jun 2003 19:44:07 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:38548 Date: 2003-06-03T15:44:07-04:00 List-Id: "Sergey Koshcheyev" writes: > "Robert A Duff" wrote in message > news:wccznkzjcvc.fsf@shell01.TheWorld.com... > > function Put(string: String); > > > > would be fine. Presumably, the "String" after ":" would resolve to the > > type name in Standard, since that's what is expected after ":". ("The > > type of type is type.") > > I'd probably even allow > > procedure Put (String : String); > > (even though it will sound like too much a heresy :-)) I agree. I'm an Ada advocate, and also a heretic. ;-) > Or are there places where it would be too confusing? It could never be allowed in Ada, because we have things like String'Last. But in a different language, one could declare that ambiguous. In general, I think a good language-design principle should be: anything that might be confused by the programmer should be illegal. - Bob