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.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM, PLING_QUERY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b6d862eabdeb1fc4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news1.google.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Ada noob here! Is Ada widely used? Date: Sun, 06 Jun 2010 10:25:11 +0200 Organization: Ada At Home Message-ID: References: <0e88de66-128c-48fd-9b9f-fdb4357f318a@z17g2000vbd.googlegroups.com> NNTP-Posting-Host: nOz3PrZI1lJ+TrIP91FCvA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.53 (Win32) Xref: g2news1.google.com comp.lang.ada:11342 Date: 2010-06-06T10:25:11+02:00 List-Id: Le Sun, 06 Jun 2010 09:46:28 +0200, Dmitry A. Kazakov = a =C3=A9crit: > =3D exponentially > > http://en.wikipedia.org/wiki/Geometric_progression OK, a quasi-synonym >> I remember in the past (past year I think), we talked around generics= >> hierarchy and generic packages as formal parameters. You had warned = >> about >> possible complexity explosion in this area: is this about the same ? > > Yep. Once generic always generic. Two generics make four instantiation= s. > And the mill starts milling... This path is not the only one way. There can be instantiations to be use= d = as basic components. Generics does not provide just a way to declare = things, this also gives a way to implement, and implementation is an = hidden thing (or else private at least). Generic origin of a type can be= = hidden (as an example) ; while obviously, some relationships are then lo= st. This can lead into an combinatorial explosion, right ; except =E2=80=9Cc= an=E2=80=9D is not = =E2=80=9Calways=E2=80=9D (while I agree to say it can comes faster than = supposed, and = recurrence/recursivity should be in mind here while designing). -- = There is even better than a pragma Assert: a SPARK --# check. --# check C and WhoKnowWhat and YouKnowWho; --# assert Ada; -- i.e. forget about previous premises which leads to conclusion -- and start with new conclusion as premise.