A few simple syntactic proposals

Sean Kelly sean at invisibleduck.org
Thu Apr 17 07:35:45 PDT 2008


== Quote from Scott S. McCoy (tag at cpan.org)'s article
> On Wed, 2008-04-16 at 22:01 -0400, Jason House wrote:
> >
> > > Remove the implicit "length" inside slice brackets as it conflicts
> > with
> > > outer length. Allow only $.
> The conflict is irrelevant.  I vote +1 for ditching "length" as a
> magical keyword inside a slice index.
> Although I still wish we had [..], [0..] [..N]... :-)

That reminds me... drop the dual meaning of "auto".  The old meaning
has hung on for far too long.


Sean



More information about the Digitalmars-d mailing list