Style guidance with checking bools

K

Krice

  Just following your suggestion that comparing booleans to 'false'
makes the code more readable.

No, I find == comparison style more readable and consistent.
Your code example was odd. Who would write something
like that?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,159
Messages
2,570,879
Members
47,416
Latest member
LionelQ387

Latest Threads

Top