On Dec 12, 6:26 pm, ry dahl <r... / tinyclouds.org> wrote:
> > For the same obvious reasons as you desire that, does it sufficiently
> > please you that this alternate markup works:
>
> > C:\>type tmp.rb
> > h = {
> >   :a => 1,
> >   :b => 2,
> >   :c => 3,
> > }
>
> > p h
>
> > C:\>ruby tmp.rb
> > {:c=>3, :a=>1, :b=>2}
> No, the benefit is that the separators are at the beginning of the
> elements, aligned and in the same column so that it is easy to see one
> is not missing, you also don't need to maintain the commas at the end
> of the line.

Ah; I thought the 'obvious' benefit you were referring to was that you
could copy/paste lines to change the order without having to remember
to use commas after every element except the last.