Quote:
Originally Posted by Inverness
Edit: Though I find the if (flag == true) more readable, and it should be optimized by the compiler.
|
Depends how you name variables.
I find it better to name booleans like 'bootsOn' versus 'boots'.
I think that
is more readable then
PHP Code:
if ( bootsOn == true )