Front page | perl.perl5.porters |
Postings from May 2010
Re: package block syntax
Thread Previous
|
Thread Next
From:
Dave Mitchell
Date:
May 4, 2010 09:18
Subject:
Re: package block syntax
Message ID:
20100504161824.GF26313@iabyn.com
On Mon, May 03, 2010 at 04:40:33PM +0200, Rafael Garcia-Suarez wrote:
> On 1 May 2010 18:59, Zefram <zefram@fysh.org> wrote:
> > Attached patch is an updated version of my "package Foo { }"
> > implementation. This fixes the SEGV in parser error recovery and adds
> > more tests. No one has objected to the new syntax, and a few people
> > have expressed approval, so I think this can be applied.
>
> Jesse ? I'm not against this patch, but I'm not enthusiastic about it
> either. Do we want this syntactic sugar in ?
Personally I'm opposed to it. It doesn't particularly add anything
useful, but will of course introduce a whole new round of bugs and
edge cases to be teased out over the next few years. (This shouldn't be
perceived as specific criticism of the quality of this patch; its more a
general observation that *any* new feature will break perl in unexpected
ways, due to the complexity of perl and the weird ways in which all its
component parts interact, e.g. tieing, the debugger, introspection, XS etc
etc.)
--
You never really learn to swear until you learn to drive.
Thread Previous
|
Thread Next