[self-interest] arguments and assignment

Steve Dekorte steve at dekorte.com
Wed May 2 19:45:19 UTC 2001


Dru Nelson wrote:
> Yes, Perl and Python do this as well.

Right, I thought Lua was different in that variable arg lists didn't 
have to be declared. But I checked the manual and they do need to be 
declared.

Proposed Self: ...f:arg1 [With:]
Lua: function foo(arg1, arg2, ...) ... end
Python: def foo(arg1,arg2,*args,**keywordAgs):
Perl: ?
Ruby: def foo(*args) ... end

Steve



More information about the Self-interest mailing list