DMD 0.177 release [Length in slice expressions]
Andrei Alexandrescu (See Website for Email)
SeeWebsiteForEmail at erdani.org
Thu Dec 21 04:55:47 PST 2006
Lutger wrote:
> Wow, I understand it now. I only hope that at least 'length' will be
> deprecated before 1.0.
>
> I like your dollars.
Well, just don't take'em away from my bank account :o).
> I'm not so good with grammars, will your proposal
> also work for user defined types?
The plan is that $expression is rewritten into (expression).length. The
consistent thing to do is to make that into an onXyz() function, but I
don't find this name inconsistency jarring.
Andrei
More information about the Digitalmars-d-announce
mailing list