speargeSpeape
New Member
I have a lot of "if-conditions", but I think using the conditional operator is a better than using if-else blocks. I plan on changing all if-else blocks to be conditional operators.Is this a good way to do things? If not, what is the best way to handle this?Also, what is the difference between using the conditional operator vs using if-else statements?[*]One line coding (simple code)? (its correct??)[*]or Any other difference there?