A question about weak contract
- From: "Tony Johansson" <johansson.andersson@xxxxxxxxx>
- Date: Sat, 24 Sep 2005 14:40:22 GMT
Hello!!
I'm reading a paper from a university and it says.
System boundary classes need weak contracts.
- The user might not be trustable.
* End-users do not accept that they have to test before a function call,
which calls for weak contract.
Now to my question why do we have to use weak contract here as was said.
Why is it not possible to use strong contract in that situation?
Can somebody explain that.
//Tony
.
- Follow-Ups:
- Re: A question about weak contract
- From: H. S. Lahman
- Re: A question about weak contract
- From: Phlip
- Re: A question about weak contract
- Prev by Date: Can you violate invariant within an operation
- Next by Date: Re: A question about weak contract
- Previous by thread: Can you violate invariant within an operation
- Next by thread: Re: A question about weak contract
- Index(es):