Quote Originally Posted by fafalone View Post
When it has the same information, yes, it's more of a style preference than being lazy. But when you're *not* talking about pure style differences, because you're introducing ambiguity, that's different.
Well that's the thing, there is no ambiguity with type inference. When we see something like:-
Code:
Dim x = 100
We know exactly what type x is because we how the VB.Net compiler behaves. It defaults to a 32 bit Integer. It's no different than a VB6 programmer reading this:-
Code:
Dim x
And knowing that's a Variant. I don't see how it's ambiguous.

I could even argue that in VB6 Dim x is more ambiguous because of Def[type] A-Z statements but no one complains about that.