My old guidelines at 
http://opensource.adobe.com/wiki/display/flexsdk/Coding+Conventions had this:

"Don't compare a Boolean value to true or false; it already is one or the 
other."

- Gordon

-----Original Message-----
From: Left Right [mailto:[email protected]] 
Sent: Wednesday, April 11, 2012 10:01 AM
To: [email protected]
Subject: [OT] Pop quiz

~/flex/SDK/4.6/frameworks/projects/framework/src/mx$ find . -type f -name 
"*.as" -print0 | xargs -0 -e grep -nH -e " == true" | wc -l Guess without 
trying, how many? :)

Sorry, I just had to share this.

On a more serious note - is this in the codestyle guides yet?

Best.

Oleg

Reply via email to