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 X-Received: by 2002:a6b:224a:: with SMTP id i71-v6mr7225660ioi.8.1529436636118; Tue, 19 Jun 2018 12:30:36 -0700 (PDT) X-Received: by 2002:aca:a883:: with SMTP id r125-v6mr750699oie.7.1529436635943; Tue, 19 Jun 2018 12:30:35 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.unit0.net!newsreader5.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!d7-v6no346585itj.0!news-out.google.com!z3-v6ni345iti.0!nntp.google.com!u78-v6no354514itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 19 Jun 2018 12:30:35 -0700 (PDT) In-Reply-To: <87po0mziqt.fsf@nightsong.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=47.185.195.62; posting-account=zwxLlwoAAAChLBU7oraRzNDnqQYkYbpo NNTP-Posting-Host: 47.185.195.62 References: <5e86db65-84b9-4b5b-9aea-427a658b5ae7@googlegroups.com> <878t7u1cfm.fsf@nightsong.com> <776f3645-ed0c-4118-9b4d-21660e3bba4b@googlegroups.com> <87602fbu2g.fsf@nightsong.com> <87po0mziqt.fsf@nightsong.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Ada Successor Language From: "Dan'l Miller" Injection-Date: Tue, 19 Jun 2018 19:30:36 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2552 X-Received-Body-CRC: 806228069 Xref: reader02.eternal-september.org comp.lang.ada:53167 Date: 2018-06-19T12:30:35-07:00 List-Id: On Tuesday, June 19, 2018 at 2:19:56 PM UTC-5, Paul Rubin wrote: > "Dmitry A. Kazakov" writes: > > There are 50 shades of mess. Ada's generics try to introduce some > > weakly-typed contracts on the formal generic parameters, where C++ > > templates go completely untyped, but mess is always mess. You cannot > > make a decent language out of macro processor. >=20 > I don't understand what you're getting at. Are Ada generics implemented > with a macro processor? C++ templates amount to that, but there are > other, better ways to implement generics. I think Dmitry is saying that the Ada's _LRM_ standard doesn't require that= better way. GNAT's generics are closer to C++'s macro-esque approach, AIU= I. Conversely, Janus Ada's generics are at the other end of the spectrum, = perhaps an exemplar model of "the better way" desired state.