Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: A question of function interface design

From: SunandaDH::aol::com at: 19-Jan-2005 6:44

> 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