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,FROM_ADDR_WS, 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,e01bd86884246855 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,fb1663c3ca80b502 X-Google-Attributes: gid103376,public From: "Joachim Durchholz" Subject: Re: Interresting thread in comp.lang.eiffel Date: 2000/07/13 Message-ID: <8kkthk$2nrc9$1@ID-9852.news.cis.dfn.de>#1/1 X-Deja-AN: 645977950 References: <8ipvnj$inc$1@wanadoo.fr> <8j67p8$afd$1@nnrp1.deja.com> <395886DA.CCE008D2@deepthought.com.au> <3958B07B.18A5BB8C@acm.com> <395A0ECA.940560D1@acm.com> <8jd4bb$na7$1@toralf.uib.no> <8jfabb$1d8$1@nnrp1.deja.com> <8jhq0m$30u5$1@toralf.uib.no> <8jt4j7$19hpk$1@ID-9852.news.cis.dfn.de> <3963CDDE.3E8FB644@earthlink.net> <3963DEBF.79C40BF1@eiffel.com> <2LS85.6100$7%3.493920@news.flash.net> <8k5aru$1odtq$1@ID-9852.news.cis.dfn.de> <8k8pk2$20cab$1@ID-9852.news.cis.dfn.de> <_dS95.9945$7%3.666180@news.flash.net> <396C9C7F.D9B20E5F@baesystems.com> <396DA53D.19DDBACE@baesystems.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Trace: fu-berlin.de 963508597 2878857 195.190.10.210 (16 [9852]) X-MSMail-Priority: Normal Reply-To: "Joachim Durchholz" Newsgroups: comp.lang.ada,comp.lang.eiffel Date: 2000-07-13T00:00:00+00:00 List-Id: Bob Allen wrote: > Say for example a restaurant has a breakfast special for $3.99 you get 2 > eggs, bacon, hash browns, toast, and grits. I don't particularly like grits, > but the regular price for a breakfast with 3 eggs, bacon, hash browns and > toast costs $5.00. So I order the special. They run out of grits before they > fill my order. How can I let them off the hook for the grits? Remember I > don't run the restaurant and cannot change their contracts. Then you're out of luck. Translated to software terms, your scenario means that some software module that offers a contract may occasionally be unable to stick with the contract but the caller doesn't mind anyway. In other words, there's a bug in the module that doesn't make a difference. Given the nonlinear effects of software bugs, I don't think that this is acceptable in a safety-critical environment. Software contracts are nonnegotiable; if the existing contracts don't satisfy you, write a new routine with a satisfactory contract. Regards, Joachim -- This is not an official statement from my employer or from NICE. Reply-to address changed to discourage unsolicited advertisements.