For example: A > B && C ==D && E != F and so on. I just string them all together in one line for the IF, then follow with the THEN block of code to execute.
Would there be a performance advantage to next IF/THENs. And if not, then why do programmers tend to use all these nested statements, which to me is more confusing to follow.
For example:
if (A>B)
if(C==D)
if(E != F)
{
//do stuff
}
Comment