On 12/09/2008, David A. Black <dblack / rubypal.com> wrote:
> Hi --
>
>
>  On Fri, 12 Sep 2008, Michal Suchanek wrote:
>
>
> > On 12/09/2008, Michael Neumann <mneumann / ntecs.de> wrote:
> >
> > > Michael Fellinger schrieb:
> > >
> > >
> > > > On Tue, Sep 2, 2008 at 3:09 PM, Yugui (Yuki Sonoda) <yugui / yugui.jp>
> > > >
> > > wrote:
> > >
> > > >
> > > >
> > > > > Hi all,
> > > > >
> > > > > As announced before, Ruby 1.9.1 features will be frozen on 25
> September.
> > > > >
> > > > > After the time,
> > > > >  * Ruby level APIs must not changed.
> > > > >
> > > > >
> > > >
> > > > I was wondering about the syntax change from 1.8 to 1.9 regarding the
> > > > `[]` method
> > > >
> > > > == The source
> > > >  class Dictionary
> > > >   def self.[](*args)
> > > >     args
> > > >   end
> > > >  end
> > > >
> > > >  p Dictionary[1,2,3,]
> > > >
> > > >
> > >
> > >                     ^^^
> > >
> > >  Are you sure this trailing "," is not the source of the syntax error?
> > >
> > >
> >
> > Disallowing that will also break stuff. And I will surely miss it. It
> > makes lists easier to modify - you can add and delete at the end as
> > well, not only in the middle.
> >
>
>  You can still do this with array and hash constructors:
>
>  a = [1,2,3,4,]  # etc.
>
>

Then it introduces a distinction between things that were previously
made look the same by choice of syntax. This looks bad in my view.

Thanks

Michal