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 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!mx05.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Seeking for papers about tagged types vs access to subprograms Date: Sun, 12 May 2013 11:25:51 +0200 Organization: cbb software GmbH Message-ID: <18iybsmtjt4ay.efhc3ordxiua$.dlg@40tude.net> References: <1bfhq7jo34xpi.p8n2vq6yjsea.dlg@40tude.net> <12gn9wvv1gwfk.10ikfju4rzmnj.dlg@40tude.net> <1oy5rmprgawqs.1jz36okze0xju$.dlg@40tude.net> <1q2ql1e4rcgko.diszzq1mhaq8$.dlg@40tude.net> <1msoad3apbkf.1optea1ujjydv.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: 15waz9CoS+eMakbyhTPyFQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:15524 Date: 2013-05-12T11:25:51+02:00 List-Id: On Sun, 12 May 2013 10:21:49 +0200, Yannick Duchêne (Hibou57) wrote: > We may diverge here, in short I would say: I don't want bricks giving the > illusions I may always be able to use it to build something which may or > may not fails, I want bricks which will tell the sooner I will not be able > to use it in some invalid ways if I want something which will not fail (or > at least reduce potentials for failures, as program proof is more than > that). It is impossible to achieve. It also contradicts the basic principle of design: divide and conquer. You want bricks to learn architecture? Even if that were possible such bricks would be unaffordable. And how would you validate, test, certify such bricks? > What I don't understand is: how something which give the illusion it has > no prerequisites, can help in constructing safer and more trustable > architectures? Simplicity, abstraction, Occam's razor, the principle of minimum energy, basic customs of engineering etc. > Seems the invariably `True` > precondition wants to give the illusion of universal reuse without > conditions. No, "true" means what that the contract was not a lie. If you say that the argument of sqrt is Float and another person say that it is not negative, then somebody is lying here. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de