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,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,a48e5b99425d742a X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,a48e5b99425d742a X-Google-Attributes: gid103376,public X-Google-Thread: ffc1e,a48e5b99425d742a X-Google-Attributes: gidffc1e,public X-Google-Thread: 1108a1,5da92b52f6784b63 X-Google-Attributes: gid1108a1,public X-Google-Thread: f43e6,a48e5b99425d742a X-Google-Attributes: gidf43e6,public From: Joachim Durchholz Subject: Re: Papers on the Ariane-5 crash and Design by Contract Date: 1997/04/06 Message-ID: #1/1 X-Deja-AN: 231266099 Sender: Joachim Durchholz References: <333FF061.3840@lmtas.lmco.com> Organization: ccn - computer consultant network GmbH Reply-To: joachim.durchholz@munich.netsurf.de Newsgroups: comp.lang.eiffel,comp.object,comp.software-eng,comp.programming.threads,comp.lang.ada Date: 1997-04-06T00:00:00+00:00 List-Id: > I think you would > agree that if C++, for example, were modified sufficiently to meet the > "spirit" > of Design by Contract, it would no longer be C++, but another language. Sorry I wouldn't. C++ has been evolving since its definition. Adding design-by-contract style assertions would not change the language into something totally different. It would only make C++ less of a punching-ball for those who want to have a bad language to contrast against their favourite language... > So, > a programmer writing in C++ would still not have a language that would > be > sufficient. Of course there are lots of weaknesses beyond lack of DBC in C++, many of them so intimately part of the language that it's impossible to remove them. It's just that adding programming-by-contract to C++ would not be a problem. Regards, Joachim