When coding on a very slow machine, such as a TI-89, every statement counts.
I am often indecisive between two ways of writing if statements:
If bool Then
int = 0
Else
int = 1
End
or
int = 1
If bool Then
int = 0
End
(Yes, I know with this example it doesn't really matter)
So the question is, which one is faster and why?