Something like if (word==true) { ... } when the variable word is itself a boolean is redundant - you can just write if (word) { ... }
if (word==true) { ... }
word
if (word) { ... }
Edit: Ignore me if you were questioning the statement "don't use...", didn't take your meaning first at first read
I do agree there is alot wrong with this code. But what do you mean with "don't use the boolean property of the parameter"?
VERY slow? How is this very slow?
Loading collection data...
Something like
if (word==true) { ... }
when the variableword
is itself a boolean is redundant - you can just writeif (word) { ... }
Edit: Ignore me if you were questioning the statement "don't use...", didn't take your meaning first at first read
I do agree there is alot wrong with this code. But what do you mean with "don't use the boolean property of the parameter"?
VERY slow? How is this very slow?