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: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED.fn3LatRFkm9/xzEj7F2/NQ.user.gioia.aioe.org!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Is this a bug? Date: Fri, 17 Jan 2020 11:08:03 +0100 Organization: Aioe.org NNTP Server Message-ID: References: <1d96e0e1-7700-4947-9fcb-051a1203c703@googlegroups.com> <8bc80421-29fb-4f19-baf0-b14680a99c32@googlegroups.com> NNTP-Posting-Host: fn3LatRFkm9/xzEj7F2/NQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader01.eternal-september.org comp.lang.ada:57860 Date: 2020-01-17T11:08:03+01:00 List-Id: On 2020-01-17 10:54, reinert wrote: > fredag 3. januar 2020 09.37.32 UTC+1 skrev Dmitry A. Kazakov følgende: > ..... >> >> Yes, but that is was not possible, because in Ada 95 the function "a" >> did not conflict with members. The change in Ada 2005 introduced dot >> notation and thus the conflict. > > Still I struggle to understand this. Why could it not be possible to tell the compiler that "this is Ada strict and do not - for god's sake - accept such possible ambiguities" ? If you borrow stuff from other, let me say it, inferior languages, you borrow problems of these languages with. Not everyone was happy with Ada 2005, 2012, with the ideas behind the changes, with the ways these ideas were implemented. I was not. Regardless what I said, the dot notation is quite useful (and natural to Ada, see Ada 83 tasks). One just should have been more careful the way it was introduced. If it would apply to all types, not just tagged records, then potential problems would be more visible and hopefully resolved at the time. Many recent Ada changes suffer "tunnel vision" effect. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de