Article View: comp.lang.eiffel
Article #1548Invariant rule
From: Bertrand Meyer
Date: Fri, 09 Feb 1990 01:10
Date: Fri, 09 Feb 1990 01:10
20 lines
1054 bytes
1054 bytes
In message <226@eiffel.UUCP>, jacob@gore.com (Jacob Gore) asks
with respect to the new form of creation operations (see
``Eiffel cleanup #1: The creation mechanis,'', <226@eiffel.UUCP>):
> How exactly will the Invariant Rule read after this change? (It now
> specifies a special case for the Create procedure.)
Clearly, every creation procedure c must satisfy
{defaults and pre_c} c {INV and post_c}
where pre_c is the precondition of c, post_c is its postcondition,
defaults is an assertion characterizing the
object state resulting from default initializations,
and INV is the class invariant.
--
-- Bertrand Meyer
bertrand@eiffel.com
Technical Details
Message-ID:
<240@eiffel.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!bloom-beacon!bu.edu!bu-cs!snorkelwacker!usc!ucsd!hub!eiffel!bertrandShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!bloom-beacon!bu.edu!bu-cs!snorkelwacker!usc!ucsd!hub!eiffel!bertrand From: bertrand@eiffel.UUCP (Bertrand Meyer) Newsgroups: comp.lang.eiffel Subject: Invariant rule Message-ID: <240@eiffel.UUCP> Date: 9 Feb 90 01:10:43 GMT Organization: Interactive Software Engineering, Santa Barbara CA Lines: 20