flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Arno" <da...@davidarno.org>
Subject RE: Flex SDK code conventions
Date Fri, 06 Jan 2012 15:00:07 GMT
> From: Carol Frampton [mailto:cframpto@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
> 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.


View raw message