The Declaration Approach (was: Some thoughts on the 'reveal' operator)

Bill Frantz frantz@communities.com
Thu, 21 Oct 1999 12:11:18 -0700


At 12:00 PM 10/21/1999 -0700, Mark S. Miller wrote:
>... Depending on which way we go, we'd be stuck having to live with one of
>
>      def square(x) reveal {x*x}
>or
>      to square(x) reveals {x*x}
>
>neither of which reads well.  If we have to go with a keyword, I'd choose
"reveal" since the method-level is where most of the action is.

Somehow, my English has atrophied enough so I don't mind to square(x)
reveals {x*x}.

Perhaps we should work with a larger, multi-method example.


>>YMOV
>
>I don't recognize this one.  ??

Your Mileage Obviously Varies.  :)