home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!plsparc!bruce
- From: bruce@plsparc.UUCP (Bruce D Mount)
- Newsgroups: comp.lang.eiffel
- Subject: Re: Semantics of invariants
- Message-ID: <391@plsparc.UUCP>
- Date: 16 Dec 92 15:17:27 GMT
- References: <1992Dec15.213603.16406@bony1.bony.com>
- Organization: Personal Library Software, Inc.
- Lines: 26
-
- In article <1992Dec15.213603.16406@bony1.bony.com> richieb@bony1.bony.com (Richard Bielak) writes:
- >Is the invariant supposed to be true *ALL* the time, once the object is
- >created?
- >
- >Or is it OK to invalidate the invariant while inside the object's routines,
- >as long as the invariant is true on exit.
- >
-
- Well, I probably shouldn't do this from memory but...
- I thought it was ok to violate the invarient inside a feature
- as long as the invarient held upon feature-exit. Given this
- syncronys model, I don't think a coprocessor to check invarients
- is needed IMHO.
-
- (BTW Richie, I'm enjoying the series of articles you wrote for
- the Sun amgazine I can't currently find :-). Keep writing...)
-
- Sorry for the poor spelling,
-
- --Bruce
- ============================================================
- Bruce Mount "Another Member of the Eiffel Jihad!"
- Personal Library Software
- Voice: (301) 990-1155
- e-mail: bruce@pls.com OR ...uunet!plsparc!bruce
- ============================================================
-