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!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: If not Ada, what else... Date: Tue, 21 Jul 2015 22:02:47 +0100 Organization: A noiseless patient Spider Message-ID: References: <64bc671c-72e5-4924-b703-3b907c69949c@googlegroups.com> <877fq9uj6g.fsf@theworld.com> <65061686-5c8f-433b-9b11-9e228298158e@googlegroups.com> <87k2u96jms.fsf@jester.gateway.sonic.net> <06f8a6f9-d219-4d40-b9ac-8518e93839bd@googlegroups.com> <87y4io63jy.fsf@jester.gateway.sonic.net> <7a29d3e9-d1bd-4f4a-b1a6-14d3e1a83a4d@googlegroups.com> <87mvz36fen.fsf@jester.gateway.sonic.net> <2215b44f-8a89-47c6-a4c4-52b74d2dac45@googlegroups.com> <9e492c82-868d-43d3-a18a-38274400e337@googlegroups.com> <40184feb-4053-4ac3-8eaa-c3bd9cd8a77c@googlegroups.com> <10272577-945f-4682-85bc-8ad47f3653ae@googlegroups.com> <87si8i81k2.fsf@atmarama.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx02.eternal-september.org; posting-host="0b8a1d07de517ba95be21a60d7133ef5"; logging-data="23946"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/8JIM0nu+VYM/5cVGj6eulTUELFn3RyY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:dQmvfpPXC5TovsxInZJCA9ohB3U= sha1:Z1maBNElG1Z0Ljv4m7FFfPQDNPk= Xref: news.eternal-september.org comp.lang.ada:26943 Date: 2015-07-21T22:02:47+01:00 List-Id: "J-P. Rosen" writes: > Le 21/07/2015 20:51, Simon Wright a écrit : >> abstract class type A is >> procedure P1 (This : in out T) is abstract; >> end A; >> >> class type T is new A with >> overriding procedure P1 (This : in out A); >> not overriding function F1 (This : A) return Integer; >> private >> V : Integer; >> end T; >> >> etc etc; not a million miles from Ada as we know it. > And how would you make the difference between specific and class-wide > types? (A huge advantage of Ada over other OO models, IMHO) I have no idea, and I don't want to; just that someone said that dropping the word 'tagged' would make the language not Ada.