auto storage class - infer or RAII?
Tomas Lindquist Olsen
tomas at famolsen.dk
Mon Nov 13 10:54:42 PST 2006
JC wrote:
> "Tomas Lindquist Olsen" <tomas at famolsen.dk> wrote in message
> news:eja9o7$2sd4$1 at digitaldaemon.com...
>> JC wrote:
>>> "Walter Bright" <newshound at digitalmars.com> wrote in message
>>> news:ej9acb$1sac$2 at digitaldaemon.com...
>>>> Tomas Lindquist Olsen wrote:
>>>>> *shivers* by the thought of 'var'
>>>> I knew that somehow I couldn't be the only one <g>.
>>> I don't see much wrong with 'var'.
>> My issue with 'var' is that it looks ugly and doesn't really tell you that
>> RAII is in action.
>
> Ugliness is in the eye of the beholder. And 'var' was never proposed for
> RAII.
>
>
I realise (and was pointed out already that I misunderstood). Ugliness
is definitely in the eye of the beholder. For me 'var' makes D look like
a dynamically typed language, though I'm obviously biased!
More information about the Digitalmars-d
mailing list