Is using If, ElseIf, ElseIf better than using If, If, If?
- by Jordan S
Is there really any difference between using
If(this)
{
}
Else If(that)
{
}
Else
{
}
or using,
If(this)
{
}
If(that)
{
}
Else
{
}
?
Does one execute any faster? Does the compiler or architecture make any difference?