Way to use var instead of auto?
Jack Stouffer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jul 3 20:15:19 PDT 2016
On Sunday, 3 July 2016 at 22:00:39 UTC, MMJones wrote:
> I like the term var better than auto. Is there a way to alias
> auto?
If you're thinking of var as in JS's var, they're not the same
thing.
Even if you could alias it I would advise against doing something
like that; assume your code will be maintained by someone else
one day.
More information about the Digitalmars-d-learn
mailing list