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.8 required=5.0 tests=BAYES_00,DATE_IN_PAST_12_24, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,d5b211b0c1ffcf3e X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Received: by 10.204.143.145 with SMTP id v17mr520821bku.7.1339710243958; Thu, 14 Jun 2012 14:44:03 -0700 (PDT) Path: e27ni48796bkw.0!nntp.google.com!news1.google.com!news2.google.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Practicalities of Ada for app development Date: Thu, 14 Jun 2012 00:01:49 +0200 Organization: Ada @ Home 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> NNTP-Posting-Host: uTPxqRaRRvkKn+mV+b6EbA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.00 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2012-06-14T00:01:49+02:00 List-Id: Le Wed, 13 Jun 2012 21:11:04 +0200, Dmitry A. Kazakov = a =C3=A9crit: > On Wed, 13 Jun 2012 11:21:10 -0700 (PDT), Shark8 wrote: > >>> Similarly, encoding is an implementation of two interfaces one of = >>> which an >>> array of code points another is an array of storage or stream elemen= ts. >>> >>> There is no need in any libraries to be cut and paste for each of th= e >>> infinite combination of string representations x implementation x co= de >>> point constraints x bounds constraints etc. It is insanity. >> >> 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 am= ong > them. You know, you can define an ADT with array behavior. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity