G
Guest
What do people here think about VB2008 having the ability to infer type?
e.g you can now say Dim i=5
which will create i as an integer
Personally I do not like it as it is not consistent and may be confusing for
other devleopers to read.
Extreme example - what is the type of x below?
dim x= 4294967295
It also leads to inconsistency - sometimes you have to declare the type and
sometimes you dont.
I will be using Option Infer Off
Guy
e.g you can now say Dim i=5
which will create i as an integer
Personally I do not like it as it is not consistent and may be confusing for
other devleopers to read.
Extreme example - what is the type of x below?
dim x= 4294967295
It also leads to inconsistency - sometimes you have to declare the type and
sometimes you dont.
I will be using Option Infer Off
Guy