> From: Carol Frampton [mailto:cfram...@adobe.com] 
> Sent: 05 January 2012 23:55

> I think it would be okay to move the Flex coding standard over to Apache.
>
> We/I updated the standard about a year ago with some changes people
wanted, 
> like allowing line lengths up to 100 chars.  We didn't take the time to
eliminate all the TBDs.

Did you remove the rule that "if (objectReference)" should be used and "if
(objectReference != null)" or "if (objectReference is SomeType)" should be
avoided? This is a truly bad rule that encourages bugs (if objectReference
is "" or 0 for example, it'll still be false). As long as this rule was
removed, then I'd see the Adobe conventions as a good starting point for the
Apache Flex coding conventions.

David.


Reply via email to