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-Thread: 103376,4ce0ea7d497db907 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news1.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: anonymous access type Date: Thu, 05 Mar 2009 10:05:01 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <01fc8d33-ebe0-4104-a817-60e1dc6142e3@l38g2000vba.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: pcls6.std.com 1236265501 990 192.74.137.71 (5 Mar 2009 15:05:01 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 5 Mar 2009 15:05:01 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:FY8HepQqm0PrHTcu77YxSox7FRk= Xref: g2news2.google.com comp.lang.ada:4940 Date: 2009-03-05T10:05:01-05:00 List-Id: "Hibou57 (Yannick Duch�ne)" writes: > On 5 mar, 00:54, Robert A Duff wrote: >> >> It's really a (minor) language design flaw that "in" is allowed but >> not required. �It should be either required or forbidden. �(I would >> prefer forbidden.) �As it is, the Ada language has split into three >> dialects: always say 'in', never say 'in', and say 'in' only for >> procedures. �That's unfortunate. >> >> - Bob > If it ever becomes forbidden, this would brake too much application > sources around the world. There is no chancge it would occurs. Right. It should have been either required or forbidden in 1983, but it's way too late to fix that now. > Then, as long as "in out" makes sens beside of "out", then "in" do as > well (would seems strange if there was "in out", "out" and no "in"). Do you find it strange that we don't have: X : constant Integer := 123; Y : variable Integer := 456; -- Not Ada! ? > As the latter one, I'm of the ones who prefer to always write "in". - Bob