Peter:

> Given that Rebol is not strongly typed, is the second of these "idioms" the
>  more appropriate?

I find type checking is useful for typo checking -- like when I've missed an 
argument:

afunc: func [a [string!] b [string!]] [return join a b]
xx: afunc "abc"
yy: 0
** Script Error: afunc expected b argument of type: string


Sunanda
-- 
To unsubscribe from the list, just send an email to rebol-request
at rebol.com with unsubscribe as the subject.

Reply via email to