Split Capabilities: Making Capabilities Scale
Ben Laurie
ben@algroup.co.uk
Mon, 31 Jul 2000 20:41:46 +0100
Ralph Hartley wrote:
>
> > > > and would not let von Braun use the object to count down to launch.
> > > > He could if the definition was "The do method decreases the
> > > > value of the
> > > > count by 1. Launch occurs when the count reaches 0.".
>
> If I were on Braun I would never accept that as a contract for a
> countdown object. He needs at least :
>
> The count is a non-negative integer that is initially ten.
> When on Braun uses his decrement message the count decreases by
> at most one.
> The count will never decrease at any other time.
> If the count is less than ten and the count has
> decreased in the last second the count will
> not decrease.
> Whenever the count decreases to a value less than ten
> the new value is broadcast on the PA system (so that
> everyone can hear).
> Launch may occur when the count reaches 0.
I'm strongly reminded of the Monty Python "Holy Hand Grenade" skit.
Cheers,
Ben.
--
http://www.apache-ssl.org/ben.html
Coming to ApacheCon Europe 2000? http://apachecon.com/