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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: anonymous access type Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <01fc8d33-ebe0-4104-a817-60e1dc6142e3@l38g2000vba.googlegroups.com> Date: Thu, 5 Mar 2009 16:18:40 +0100 Message-ID: <14dos8b02405t.z7aeeys6i14v$.dlg@40tude.net> NNTP-Posting-Date: 05 Mar 2009 16:18:40 CET NNTP-Posting-Host: 1ae4b7c4.newsspool2.arcor-online.net X-Trace: DXC=NZ_d;XoEYS?QbA1[CgMQ00A9EHlD;3Yc24Fo<]lROoR1^YC2XCjHcb9d8LUkWUHga2DNcfSJ;bb[5FCTGGVUmh?4LK[5LiR>kg2mgO8QTj7E>1 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:3971 Date: 2009-03-05T16:18:40+01:00 List-Id: On Thu, 05 Mar 2009 10:05:01 -0500, Robert A Duff wrote: > "Hibou57 (Yannick Duch�ne)" writes: > >> 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! > Strange is that it is not -- Everything is not Ada! X : in Integer := 123; Y : in out Integer := 456; Z : out Integer; -- I can leave it uninitialized for a while in = immutable, requires explicit initialization [unless controlled?] in out = mutable, requires explicit initialization ... out = mutable, no explicit initialization required BTW, it is not to late to introduce this, since it would be compatible to the present stuff: A : T ... <=> A : out T + warning B : constant T ... <=> B : in T ... + warning -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de