No problems, the only reason I always do that now is that I've learned many languages over the years and the order of AND OR and other operators is never consistent. You could say many of my tests are () parenthesis overloaded ... just to be sure of order and clarity.
I usually like parenthesis around the test like this:
ReplyDelete(nFirst > nSecond)
Just to be clear.
Actually that is a good way of coding.
DeleteKeep it up.
Regards,
Support - ccplusplus.com
No problems, the only reason I always do that now is that I've learned many languages over the years and the order of AND OR and other operators is never consistent.
DeleteYou could say many of my tests are () parenthesis overloaded ... just to be sure of order and clarity.