[self-interest] arguments and assignment

Dru Nelson dru at redwoodsoft.com
Wed May 2 17:14:10 UTC 2001


Yes, Perl and Python do this as well.

> That sounds like a good idea to me. One of the common problems with 
> keyword argument lists is handling variable number of arguments. Your 
> scheme takes care of that. Lua uses a similar mechanism but does so but 
> default on all functions. If you pass in more arguments than the 
> function has declared argument variables for, it put the extras into a 
> "args" array. This makes implementing message forwarding a lot simpler. 
> It's also helpful to have a way to call a method with a list of 
> arguments.
> 
> Steve
> 
>  
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
> 




More information about the Self-interest mailing list