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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c9d5fc258548b22a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.wiretrip.org!news2.arglkargh.de!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: How do I write directly to a memory address? Date: Fri, 4 Feb 2011 23:17:31 -0600 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <67063a5b-f588-45ea-bf22-ca4ba0196ee6@l11g2000yqb.googlegroups.com> <31c357bd-c8dc-4583-a454-86d9c579e5f4@m13g2000yqb.googlegroups.com> <05a3673e-fb97-449c-94ed-1139eb085c32@x1g2000yqb.googlegroups.com> <4d4c232a$0$28967$882e7ee2@usenet-news.net> <1p4rkrzxjiswj.bbf2pfuxq0dn$.dlg@40tude.net> <4d4c477a$0$5229$882e7ee2@usenet-news.net> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1296883052 10110 69.95.181.76 (5 Feb 2011 05:17:32 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Sat, 5 Feb 2011 05:17:32 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Xref: g2news2.google.com comp.lang.ada:17858 Date: 2011-02-04T23:17:31-06:00 List-Id: "Hyman Rosen" wrote in message news:4d4c477a$0$5229$882e7ee2@usenet-news.net... ... > The implicit contract of the subroutine is I think I see the cause of the disagreement: there is no such thing as an "implicit" contract. Either it is part of the explicit contract, or it doesn't exist and it has to be checked somehow -- because programmers are human and they *will* make mistakes or even be incompetent. *Ada* is deficient in the ability to write proper contracts (improving this is a primary driving force behind Ada 2012, after all), C is even worse in this respect. An implicit contract is the same as assuming something, and we all know what "assume" does: it makes an "a**" of "you"and "me". :-) Randy.