Subtle Initialization Fun
Quick, what's going to happen in scenario #1 vs scenario #2:
Scenario #1:
For counter As Integer = 1 To 5
Dim i As Integer
i += 1
MsgBox(i)
Next
Scenario #2
For counter As Integer = 1 To 5
Dim i As Integer = 0
i += 1
MsgBox(i)
Next
This type of stuff is pretty subtle. I really wish option strict made you initialize your variables too. And while I'm at it, an Option ImNotAnIdiot that short cicuits And statements without needing the AndAlso statement. That would be cool.