From: Justin Johnson Date: 2002-07-31T20:38:13+09:00 Subject: Re: Ruby Language Q's Yes, of course. I'm still stuck in static compiler thinking. I suppose that named arguments would incur a performance overhead then... :-( -- Justin Johnson. wrote in message news:200207311111.g6VBBY614629@sharui.nakada.kanuma.tochigi.jp... > Hi, > > At Wed, 31 Jul 2002 19:58:07 +0900, > Justin Johnson wrote: > > Thinking aloud: would the argument order be taken care of at parsing time? > > > > my_method( height: 30 width: 20, pos: 10 ) > > > > is reordered to: > > > > my_method( pos: 10, width: 20, height: 30 ) > > > > or even: > > > > my_method( 10, 20, 30 ) > > Theoretically impossible. Which method is really called is > unknown until invocation. > > -- > Nobu Nakada >