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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca.giganews.com!nntp.giganews.com!news.snarked.org!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Your wish list for Ada 202X Date: Wed, 23 Apr 2014 11:02:36 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <7f1c01c5-3563-4b94-9831-152dbbf2ecdc@googlegroups.com> <9f156351-e3d0-4d86-b816-1d5e09ee69da@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 23 Apr 2014 18:02:38 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="42ea65963a295dd28559459f9f96c6a5"; logging-data="21688"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19k6pZIpCw6YyYgJ+0WKpG+MM1fkTVUxm8=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: Cancel-Lock: sha1:vFHikXUgL9MCs7VhghnNRnn2T9E= Xref: number.nntp.dca.giganews.com comp.lang.ada:186036 Date: 2014-04-23T11:02:36-07:00 List-Id: On 04/23/2014 08:43 AM, J-P. Rosen wrote: >> > Ah! Another case of "I don't want to use the use clause, give me > something else that avoids writing these damn long names". While I agree with your sentiment, I think there's something else involved here, too. The Ada-95 version of the PragmAda Reusable Components include protected versions of the data structures, and in numerous cases users chose the protected version for purely sequential software in order to obtain the Object.Operation notation that a protected type offers. This was true even for users who used use clauses, and so chose to write Queue.Put (Item => Thingy); rather than Put (Onto => Queue, Item => Thingy); I don't think this is an issue of saving keystrokes, but a belief that the former is easier to read than the latter. With the addition of such notation for tagged types in 2007, exposure to this difference has become more widespread, so desiring V'Image rather than T'Image (V) may not be entirely about saving keystrokes. -- Jeff Carter "Run away! Run away!" Monty Python and the Holy Grail 58