Being new to VB.NET, I would like to know which of the following is more efficient in nature (time-wise (which code runs faster), code-neatness-wise, etc. you may add your own reasons too)
Dim a, b, c, d As Integer
a = 1
b = 2
c = 3
d = 4
OR
Dim a As Integer = 1
Dim b As Integer = 2
Dim c As Integer = 3
Dim d As Integer = 4
I am mainly asking this because my code has way too many Dim statements & coming from a Python background, I have never ever seen soooo many declarations (I do need those though, trust me). Is this okay? Or am I coding in a bad style?