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!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: Ada Successor Language Date: Tue, 19 Jun 2018 12:19:54 -0700 Organization: A noiseless patient Spider Message-ID: <87po0mziqt.fsf@nightsong.com> References: <5e86db65-84b9-4b5b-9aea-427a658b5ae7@googlegroups.com> <878t7u1cfm.fsf@nightsong.com> <776f3645-ed0c-4118-9b4d-21660e3bba4b@googlegroups.com> <87602fbu2g.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="d6cb8fb4b722703e60151f6acfa9b2a5"; logging-data="32645"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qBN5llerE/2yQZmTeIOFu" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:ubNUr7/zKGQxmjL2M9frwYMOH/Y= sha1:vMJsYZtcqdK0GsE9vH2yfZpD7OM= Xref: reader02.eternal-september.org comp.lang.ada:53166 Date: 2018-06-19T12:19:54-07:00 List-Id: "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. 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.