Mauricio Fernandez wrote:
> On Thu, Jun 01, 2006 at 09:33:29PM +0900, Jeff Rose wrote:
> 
>>I'm sold.  This will be great for easily defining event types in 
>>EventMachine.  Why the complicated default argument values though?  For 
>>simple cases how about just using hash syntax:
>>
>>MyClass = SuperClass.new(:a => 2, :b => 3)
> 
> 
> The problem with this is that it makes positional arguments impossible, since
> the Hash doesn't preserve the order; maybe 

[snip]

That's another example of why I would like a data structure
that  1) had a convenient notation for literals and 2) was
"like" a Hash, but ordered.


Hal