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!reader02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada Successor Language Date: Wed, 27 Jun 2018 09:15:21 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <5e86db65-84b9-4b5b-9aea-427a658b5ae7@googlegroups.com> <776f3645-ed0c-4118-9b4d-21660e3bba4b@googlegroups.com> <87602fbu2g.fsf@nightsong.com> <87po0mziqt.fsf@nightsong.com> <87fu1izfgs.fsf@nightsong.com> <878t75nwad.fsf@adaheads.home> <15b6f89f-997b-45ac-86b4-2e614bb624c2@googlegroups.com> NNTP-Posting-Host: MyFhHs417jM9AgzRpXn7yg.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:52.0) Gecko/20100101 Thunderbird/52.8.0 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.8.3 Xref: reader02.eternal-september.org comp.lang.ada:53368 Date: 2018-06-27T09:15:21+02:00 List-Id: On 2018-06-27 00:03, Dan'l Miller wrote: > On Tuesday, June 26, 2018 at 4:01:22 PM UTC-5, Niklas Holsti wrote: >> … I don't >> think Dmitry's suggestion for class-wide types rooted in untagged types >> would lead to the same problems as slicing in C++. > > Then you are an unable to foresee slicing situations as Bjarne Stroustrup was. Bjarne should not be one's role model as a language designer. But you are able to foresee that, right? Then maybe you put up an example of what the problem is? P.S. The major failure of OO design in C++ is conflating specific and class-wide types, which makes C++ OO weakly-typed, whereas in Ada OO is strongly typed all the way. So any comparison to C++ without concrete examples is useless. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de