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=-0.2 required=5.0 tests=BAYES_00,PLING_QUERY, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,b6d862eabdeb1fc4 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Ada noob here! Is Ada widely used? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <0e88de66-128c-48fd-9b9f-fdb4357f318a@z17g2000vbd.googlegroups.com> <2o8vq76hpv1m.vs7m2beo23nz.dlg@40tude.net> Date: Sun, 6 Jun 2010 15:10:48 +0200 Message-ID: <1q5k4indthpli.1dn17o4ue4a15$.dlg@40tude.net> NNTP-Posting-Date: 06 Jun 2010 15:10:47 CEST NNTP-Posting-Host: 3e80e415.newsspool1.arcor-online.net X-Trace: DXC=X@0goUZ_;ChOKO]LCQ@0g`ic==]BZ:afn4Fo<]lROoRa<`=YMgDjhgbRUbKm`amj0n[6LHn;2LCVn[ On Sun, 06 Jun 2010 14:38:21 +0200, Yannick Duch�ne (Hibou57) wrote: > I guess for Complex you would like constraining discriminants. I would rather like to see Complex an implementation of field. We need working interfaces instead of Java-like mess. > The funny part is that I actually see generics as a way to define ADT. A very poor way. >> Probably yes. Macro is a macro, even if you call it generics or template. > You can pass anything to macro. Generics are safer at least for this > reason. To put a hand grenade in your pocket, is safer than in the mouth... >> Some, but as I said Ada drifts towards less checks. > Really ? I don't feel so much and don't believe most interested parties > will allow it. > The introduction of DbC in the Ada 2012 language itself, even goes the > opposite way. Isn't it ? You forgot that run-time check is not a check to me. It is a language design bug. I am afraid I will like Ada 2012 even less than Ada 2005. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de