30.06.2015, 12:51
It depends on the condition inside of the if. If condition is simple yea, if condition is better understandable in negated form, use the first solution. Perfomanse is the same, today we have good compilers and they will optimise the code.