auto storage class - infer or RAII?
Tydr Schnubbis
fake at address.dude
Sat Nov 11 20:04:28 PST 2006
Chris Nicholson-Sauls wrote:
>> Considering that scope already exists as a keyword, I find this an excellent
>> suggestion that is also very much clearer in meaning (I find auto to miss
>> the target for both cases really :P ).
>>
>
> I've already said it before, but it bears repeating yet again. I also prefer 'scope' for
> this. Although 'infer' wouldn't be bad -- but please, please, please, not 'var'! It
> smells too much like a scripting language construct, and besides, my Bovis code is
> overflowing with actual variables named var. (Probably because of the BVar struct that it
> passes most values around as. Go figure.)
>
'scope' and 'infer' sound good to me, very to-the-point and unambiguous.
No need to make people wonder if 'auto' works like in C or not, etc.
Just drop it.
More information about the Digitalmars-d
mailing list