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: a07f3367d7,9506bdc34331969a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news.mv.net!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: put of access type Date: Fri, 21 Aug 2009 10:31:41 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <4a8ce6a0$1@news.post.ch> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1250865101 22176 192.74.137.71 (21 Aug 2009 14:31:41 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 21 Aug 2009 14:31:41 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:QTHlUHBMA44XWXGTZY1MglKK4L0= Xref: g2news1.google.com comp.lang.ada:6972 Date: 2009-08-21T10:31:41-04:00 List-Id: Stephen Leake writes: > Robert A Duff writes: >> Right, but the OP wants to learn Ada, as far as can tell. I don't think >> the best way to do that is to focus on "internals". > > That depends on your learning style. I understood tagged types and > dispatching much better after I learned about one possible > implementation. OK, in this case, I agree. > The same goes for access types for unconstrained arrays; they just > don't make sense if you don't know about the dope. In this case I don't. I'm not sure why, and it may well be a matter of taste, but for me, drawing pictures with arrows representing the pointers is better for understanding pointers than thinking about machine addresses. And I'm a compiler writer -- I know all about machine addresses. ;-) And I think that applies to many languages, not just Ada. - Bob