From: "Hal E. Fulton" Date: 2001-08-17T01:00:33+09:00 Subject: [ruby-talk:19906] Re: The GUI poll is in, and the resultsaresurprising ----- Original Message ----- From: Lars Christensen To: ruby-talk ML Sent: Thursday, August 16, 2001 3:40 AM Subject: [ruby-talk:19866] Re: The GUI poll is in, and the resultsaresurprising > > module Fox > class FXMainWindow > def FXMainWindow.identifier(*symbols) > instance_eval "#{symbols.join ', '}, ID_LAST = > enum(Fox::FXMainWindow::ID_LAST, #{symbols.length + 1})" > end > end > end Hmm. Can you explain this? > > > > If some future version of Ruby supports keyword arguments, the situation > > will be even better. > > Great! By why keep the arguments if you can do without them. When you use > them, the expression becomes unreadable. You still won't be able to > remember with the 5th argument was about. The only exception is the use of > named arguments (by symbol or string, which is possible with today's > ruby!): When Lyle said "keyword arguments" he meant the same as you mean by "named arguments." Hal