auto storage class - infer or RAII?

Chris Miller chris at dprogramming.com
Sun Nov 12 05:49:46 PST 2006


On Sun, 12 Nov 2006 08:28:51 -0500, Andrey Khropov  
<andkhropov_nosp at m_mtu-net.ru> wrote:

> Walter Bright wrote:
>
>> And that's why I've avoided using "var".
>
> Well, 'var' is used in C# 3.0 for this purpose (which is obviously a  
> C-family
> language and a popular one)
>  And it's also used in JavaScript and  Scala
> (which have mostly C-family look and feel)
> So I think this isn't a serious concern.
>
> And as you can see from this and other threads most people here are  
> happy with
> it except those who seldom use it for variable naming.
>

I don't like "var" because it reminds me of a cheap script like  
JavaScript, but I'm not that against it.



More information about the Digitalmars-d mailing list