Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualMarkS

Posted 24 December 2012 - 11:25 AM

Besides, where do you stop the redundancy?:

if ((a == true) == true)
if (((a == true) == true) == true)

This is one of those times where I believe it's a case of "correct your thinking".

 

Really well put! 


#1MarkS

Posted 24 December 2012 - 10:52 AM

If it seems clearer putting == true on the end, then you possibly aren't using good variable names.
People don't go around saying "if paused equals true then ...". They'd say "if paused then ..."

Besides, where do you stop the redundancy?:

if ((a == true) == true)
if (((a == true) == true) == true)

This is one of those times where I believe it's a case of "correct your thinking".

 

Really well put! 


PARTNERS