From: Tom Sawyer Date: 2002-07-31T00:46:53+09:00 Subject: Re: Ruby Language Q's On Tue, 2002-07-30 at 09:14, Michael Campbell wrote: > Would this be a required feature, or optional? Would I be REQUIRED > to name all parameters? That would break, well, all existing code, > I'd think. well, i wasn't going to go into it, but....i'll be brief: function arguments are equivalent to arrays, hence f(x, y, z) ==is like== f[x, y, z] why do we have two structures for the same thing: () and []? a waste of a deliminator! following through with the idea, would it not be nice to do something like: f{a=>x, b=>y, c=>z} though in my opinion {} should be for procs only, then we wouldn't need to ever say Proc.new. and the construct a => x. what is that really? should it not be its own Class? and other stuff like that..... ~transami