From: Robert Dober Date: 2009-01-15T05:00:16+09:00 Subject: Re: 10 things to be aware of in 1.8 -> 1.9 transition On Wed, Jan 14, 2009 at 7:40 PM, David A. Black wrote: > Hi -- > > I know it's not usual to announce blog posts here, but I'm going to > indulge the impulse as the content of this one is something I might > have posted here anyway: > I believe this is something lots of folks want desperately, YHS included. So please keep the good work up. A small comment on hash key ordering: As you said it is insertion order, not update order, thus in the (unlikely) case that one wants to change that, one has to delete the key. h = { a: 42, b: 42 } h.update a: 42 h --> { a: 42, b: 42 } vs. h.delete a: h.update a: 42 h --> { b: 42, a: 42 } It seems to be true too that the hash literal is insertion order preserving, thus the read syntax and write syntax for hashes seem identical :). Can anybody confirm this please? Cheers R -- It is change, continuing change, inevitable change, that is the dominant factor in society today. No sensible decision can be made any longer without taking into account not only the world as it is, but the world as it will be ... ~ Isaac Asimov