Way to use var instead of auto?

ZombineDev via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 4 05:05:17 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 really want to have Javascript-like semantics in D, you 
try this:
https://github.com/adamdruppe/arsd/blob/master/jsvar.d


More information about the Digitalmars-d-learn mailing list