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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,2c6139ce13be9980 X-Google-Attributes: gidfac41,public X-Google-Thread: 1108a1,2c6139ce13be9980 X-Google-Attributes: gid1108a1,public X-Google-Thread: 103376,3d3f20d31be1c33a X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,2c6139ce13be9980 X-Google-Attributes: gidf43e6,public From: Joachim Durchholz Subject: Re: Safety-critical development in Ada and Eiffel Date: 1997/07/18 Message-ID: <33CFC7A5.F8BF9DBA@munich.netsurf.de>#1/1 X-Deja-AN: 257669621 References: <33CD1722.2D24@calfp.co.uk> <33CE082E.65FF@calfp.co.uk> X-Priority: 3 (Normal) Organization: ccn - computer consultant network GmbH Newsgroups: comp.object,comp.software-eng,comp.lang.ada,comp.lang.eiffel Date: 1997-07-18T00:00:00+00:00 List-Id: Jon S Anthony wrote: > Unless you are using a pure functional or declarative language, you > are writing "procedural" code. Eiffel is about as close to either of > these as Ada or Pascal or C. So, if you are writing your assertions > in Eiffel, you are writing procedural code. > > If you really do want functional code - go use a _functional_ > language! Sorry, this is plain wrong. Assertions are indeed considered functional ("applicative" according to Bertrand's nomenclature) in Eiffel. I'm pretty sure that the reason is that assertions aren't intended to do anything - they just specify conditions that have to be true at certain points in execution. There isn't much procedural one could (or should) do here. Regards, Joachim -- Please don't send unsolicited ads.