3 ms·
I've worked with people that couldn't be convinced that using var in C# was not the same as the old terrible untyped Variant type from VB.
by douche 10y ago
I've worked with people that couldn't be convinced that using var in C# was not the same as the old terrible untyped Variant type from VB.
- pc86 10y agoSome people are just bad programmers.
- nathanaldensr 10y agovar is not the same as Variant. var is merely a placeholder for the real type, which the compiler infers from the RHS expression type. Variant is closer to object than var. EDIT: It turns out the parent and I agree 100%. Darn double negatives! :)
- masklinn 10y agoIsn't that exactly what GP is saying?
- Pica_soO 10y agoIronically, being strictly against something looks like you know what you are doing. We should promote this guy, he prevents alot of bad things happening.