home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.eiffel
- Path: sparky!uunet!psinntp!bony1!richieb
- From: richieb@bony1.bony.com (Richard Bielak)
- Subject: Semantics of invariants
- Message-ID: <1992Dec15.213603.16406@bony1.bony.com>
- Organization: multi-cellular
- Date: Tue, 15 Dec 92 21:36:03 GMT
- Lines: 18
-
- Is the invariant supposed to be true *ALL* the time, once the object is
- created?
-
- If this is so, you can imagine each object having an "invariant-checker"
- running continously on another processor.
-
- Or is it OK to invalidate the invariant while inside the object's routines,
- as long as the invariant is true on exit.
-
- What if one object routine calls another? What about recursive routines?
-
-
- ...richie
- --
- * Richie Bielak (212)-815-3072 | *
- * Internet: richieb@bony.com | Rule #1: Don't sweat the small stuff. *
- * Bang {uupsi,uunet}!bony1!richieb | Rule #2: It's all small stuff. *
- * - Strictly my opinions - | *
-