if(;){} opinion

Charles noone at nowhere.com
Mon Feb 27 15:03:41 PST 2006


I think its short for 'auto' deduction ?

'var' gets my vote

Derek Parnell wrote:
> On Mon, 27 Feb 2006 22:25:37 +1100, Nils Hensel <nils.hensel at web.de> wrote:
> 
>> Lionello Lunesu schrieb:
>>
>>> Talking of which: when is that "auto" ambiguity going to be 
>>> resolved?  (I still prefer "var" to "auto"
>>
>>
>> This would get my vote as well. "var" is far more intuitive and it 
>> would  be similar to DScript. I don't think there's an obvious 
>> connection  between "auto" and the data type of a variable.
>>
> 
> Thanks! There has been something bugging me about this since it 
> appeared  and that is it. True its an 'auto' but an auto what? Auto 
> scope? Auto  Type? Auto mobile? Auto initialization? Simply, 'auto' is 
> way too  ambiguous. At least 'var' is more focused.
> 



More information about the Digitalmars-d mailing list