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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c7d533acec91ae16 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Question for the folks who designed Ada95 Date: 1999/04/27 Message-ID: <7g4n1q$vag$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 471494787 References: <7g2qu4$ca4$1@usenet.rational.com> <7g3b5g$p92$1@nnrp1.dejanews.com> <7g4ae3$hjh2@ftp.kvaerner.com> <7g4gjk$luq@drn.newsguy.com> X-Http-Proxy: 1.0 x12.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Tue Apr 27 16:02:05 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-04-27T00:00:00+00:00 List-Id: In article <7g4gjk$luq@drn.newsguy.com>, bill@nospam.com wrote: > since we are making changes, can I have this change also: > how about adding "()" to function and procedure calls, > even though there are no parameters > being passed? > > I find it more clear to see > > pkg.foo(); > > instead of > > pkg.foo; > > where foo is a procedure or function that takes no args. > > becuase if I see () next to the name, I know the name is > a function or > procedure, instead of just a variable. > > please please, can we make this change in Ada 200X ? > > Bill. No we can't! This is something that people feel strongly about one way or the other. It partly depends on your previous experience, C programmers actually like the (), but Algol tradition programmers find them ugly. I personally think they are distracting and very annoying, but my personal tastes are not important. What *is* important is that this issue has been discussed at length, in both 83 and 95, and every discussion made it clear that the constituency that hates the null parens is (a) in the clear majority and (b) feels strongly about it. To suggest making such a change at this stage is out of the question. It would be a horrendous incompatibility that would annoy the majority of Ada users! -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own