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,92d1af21ade61406 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-07 07:09:00 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.kjsl.com!HSNX.atgi.net!newsfeed.frii.net!newsfeed.frii.net!nntp5.savvis.net!uunet!dfw.uu.net!ash.uu.net!world!news From: Robert A Duff Subject: Re: Problems with 'class, help anyone? User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Sender: news@world.std.com (Mr Usenet Himself) Message-ID: Date: Thu, 7 Nov 2002 15:07:56 GMT Content-Type: text/plain; charset=us-ascii References: <3DBE2593.9080800@worldnet.att.net> <3DBF9437.8090408@worldnet.att.net> <3DC74F23.80308@worldnet.att.net> <3DC91DBB.C85F27E@brighton.ac.uk> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Organization: The World Public Access UNIX, Brookline, MA Xref: archiver1.google.com comp.lang.ada:30532 Date: 2002-11-07T15:07:56+00:00 List-Id: John English writes: > Robert A Duff wrote: > > > > Stephen Leake writes: > > > > > But in _my_ style guide (and some others), leaving out the "in" > > > (relying on the default) is forbidden. > > > > I think the "in" should *always* be left out. It's just noise. > > I leave it out for functions (where it's the only possibility -- well, > it was in Ada 83 anyway) and put it in explicitly for procedures where > there is a choice of possible modes. Yeah, I've seen that style before. The reason I don't like it is that IMHO the rule about no out params in functions is a kludge, and I don't want to base my style on a kludge. They shouldn't be called "functions", either -- they are procedures that happen to return a value. Anyway, clearly folks could argue about this forever. And it's a simple enough issue that *everybody* can have an opinion. IMHO it would have been better if Jean Ichbiah had decided on one particulary style, and enforced it in the syntax. There is absolutely no value in having some people use 'in' and some not (and some sometimes). - Bob