[REBOL] Re: Using Switch with Words ??
From: tim:johnsons-web at: 1-Nov-2001 7:49
On Thu, Nov 01, 2001 at 07:32:24PM +1300, Andrew Martin wrote:
..........
> and then you can easily see how one can 'compose, 'load, 'do or 'reduce
> Switch-Block to create interesting effects.
> -><-
One of my obstacles to learning rebol has been that since I've
written in C for 12 years, I find "C-thinking" getting in the
way.
What this conversation about switches has taught me is
to think of 'switch as a function, the cases block as
an 'argument'. The tendency of a C programmer is to
think of switch as a control structure (such as I was).
Good thread!
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.johnsons-web.com