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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d5b211b0c1ffcf3e X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.234.38 with SMTP id ub6mr1864107pbc.2.1339666398179; Thu, 14 Jun 2012 02:33:18 -0700 (PDT) Path: l9ni49448pbj.0!nntp.google.com!news2.google.com!goblin3!goblin.stu.neva.ru!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Practicalities of Ada for app development Date: Thu, 14 Jun 2012 11:33:17 +0200 Organization: cbb software GmbH Message-ID: References: <89e137c8-45b1-48a3-8d15-3a15d8796af0@googlegroups.com> <1ij4sij23rw7l.g2ym8z451mt4.dlg@40tude.net> <25b7d199-634c-44d6-b9db-4bd20d4c9d19@googlegroups.com> <1mm52az2aghu6$.12xokh559i5a6.dlg@40tude.net> <1pj6gkxpren4r.tn2hv6r1fdh5.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Date: 2012-06-14T11:33:17+02:00 List-Id: On Thu, 14 Jun 2012 11:10:39 +0200, Yannick Duch�ne (Hibou57) wrote: > Le Thu, 14 Jun 2012 10:02:07 +0200, Dmitry A. Kazakov > a �crit: > >> On Thu, 14 Jun 2012 00:01:49 +0200, Yannick Duch�ne (Hibou57) wrote: >> >>> Le Wed, 13 Jun 2012 21:11:04 +0200, Dmitry A. Kazakov >>> a �crit: >>> >>>>> Who said anything about using an infinitude of implementations? >>>> >>>> The language forces this, because Ada is incapable to abstract >>>> implementation from the interface in many cases. Array interface is >>>> among >>>> them. >>> >>> You know, you can define an ADT with array behavior. >> >> I made my point about *array interface*. >> >> Encoding/representation issues require multiple array interfaces >> implemented by the same type. > > Unless I don't understand your point, define facades. > > If I don't understand your point, give an example. The example was given: UTF-8 string. It shall implement the interface of an array of Wide_Wide_Character (code points), the interface of an array of octets (encoding layer). Further interfaces are at your choice. > Side note: sometime I feel you expect too much generalization from Ada. I expect from Ada a type system which would not force me to bend design, with as much static checks as possible. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de