Does D have too many features?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Apr 29 22:55:30 PDT 2012


On 4/30/12, H. S. Teoh <hsteoh at quickfur.ath.cx> wrote:
> I think the correct solution here is to use alias. (If that doesn't
> work, then it should be made to work..)

It probably will. Quote Andrei: "Yah, we should add that at some
point. Walter and I discussed about it and it's virtually approved.
But to be on the conservative side, it's not for expressions but for
mere pointer-chasing chains."

So this would probably work:
alias var.some.deeply.nested.object obj;
// use obj here..

I think that's what is being discussed w.r.t. with()?


More information about the Digitalmars-d mailing list