D's auto keyword
Walter Bright
newshound1 at digitalmars.com
Wed Jan 13 13:30:35 PST 2010
dsimcha wrote:
> One underappreciated thing auto gives is DRY for types. It makes it easier to
> change the type of some object in the place where it's initially decided, because
> those changes will automagically be propagated to everything that uses that
> object, as long as the new type supports the same compile-time interface as the
> old type.
I consider that a *major* advantage to auto.
More information about the Digitalmars-d
mailing list