D's auto keyword

Lutger lutger.blijdestijn at gmail.com
Wed Jan 13 14:46:09 PST 2010


On 01/13/2010 10:22 PM, Nick Sabalausky wrote:
> "Lutger"<lutger.blijdestijn at gmail.com>  wrote in message
> news:hil6gr$2hmn$1 at digitalmars.com...
>>
>> All ML derived languages do this much more extensively and they even don't
>> need an auto keyword for it. C# has var and VB.NET has Dim which mean the
>> same thing. The nice thing with those languages is that if you code in
>> Visual Studio, you only have to hover above the variabele and the type
>> pops up. Most IDE's have this btw, including descent, so that takes away
>> the concern of having to remember the flow of types inferred.
>
> Doesn't "Dim" (without an "As" clause) declare a variant rather than a
> compile-time-inferred static type? Or did that change in VB.NET?
>
>

What MS did was basically just drop Visual Basic, lot's of rusty coders 
lost their job because of it. VB.NET is C# dressed up to look like that 
dying dynamic scripting language with a similar name. It is a different 
language altogether though, even D is more dynamic than VB.NET.



More information about the Digitalmars-d mailing list