auto, var, raii,scope, banana

Andrei Khropov andkhropov at nospam_mtu-net.ru
Thu Jul 27 16:51:16 PDT 2006


Nils Hensel wrote:

> > I think Kris's point is that of the two choices 'var' and 'auto' the
> > latter is less likely to annoy someone by colliding with existing user
> > variables. The point is valid so long as the group of 'var' users is
> > bigger than the group of 'auto' users, even if both groups are small.
> One should also consider future users of D since we haven't even reached 1.0
> yet. Since no one else already uses "auto" for this purpose but a lot of
> languages use "var" I believe it to be the more intuitive option.

Agreed ( it's also one letter shorter :-) )

-- 
AKhropov



More information about the Digitalmars-d mailing list