From: Roger Pack <rogerdpack2@...>
Date: 2011-11-02T02:09:13+09:00
Subject: [ruby-core:40638] Re: [ruby-trunk - Feature #5474][Assigned] keyword argument

>> An alternative design is to treat all parameters as keyword
>> arguments (as Evan said in [ruby-core:40195]).
>>
>> �def create_point(x, y, color = "white", size = 1)
>> � �p [x, y, color, size]
>> �end
>> �create_point(color: "red", x: 2, y: 3)
>> � �#=> [2, 3, "red", 1]
>>
>> Actually I also like this, but I'm afraid if it is too flexible
>> and seems difficult to implement and optimize.

+1 for this way, if at all possible.
Then it is more flexible, and Ruby is all about shooting for the stars
feature-wise, right? :)
-r