incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Smith <gosm...@adobe.com>
Subject RE: Mixed Case class names and SW, SWC etc
Date Mon, 20 Aug 2012 17:46:17 GMT
I don't think I ever updated the naming conventions to reflect that decision, but I should
have.

- Gordon

-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, August 17, 2012 10:25 PM
To: flex-dev@incubator.apache.org
Subject: Re: Mixed Case class names and SW, SWC etc

Gordon, did we ever make a rule about prefixes?  Prefixes are most likely to result in capitalization
issues like Tink is saying.  I remember we got loudly told by the community to remove the
FX prefix from the Spark components and use namespaces instead.  Did we make that an official
part of the naming conventions?

-Alex


On 8/17/12 5:53 PM, "Gordon Smith" <gosmith@adobe.com> wrote:

> On second thought, changing them would be a bad idea because this 
> convention comes from the flash.* API. In other words, it wasn't an 
> arbitrary choice for Flex. As long as Flex is Flash-based, acronyms 
> should not be mixed case, so that the API looks consistent at all levels of the platform
stack.
> 
> - Gordon
> 
> -----Original Message-----
> From: Gordon Smith [mailto:gosmith@adobe.com]
> Sent: Friday, August 17, 2012 5:42 PM
> To: flex-dev@incubator.apache.org
> Subject: RE: espenskogen@apache.org
> 
> I wouldn't object if you want to change all of them, in all classes, 
> interfaces, functions, etc. I would object to not being consistent.
> 
> - Gordon
> 
> -----Original Message-----
> From: Tink [mailto:flex@tink.ws]
> Sent: Friday, August 17, 2012 3:14 PM
> To: flex-dev@incubator.apache.org
> Subject: Re: espenskogen@apache.org
> 
> I've followed these coding standard for some time, it makes sense to 
> keep all code to a particular standard, but I think is is one is a mistake.
> 
> I've so often ended up will classes like FXQSIForm, which would be so 
> much better as FxQsiForm.
> 
> Tink
> 
> 
> On 17 Aug 2012, at 20:08, Gordon Smith wrote:
> 
>>> SwfClassLoader.as
>> 
>> Hi, I wanted to mention that the Flex coding standards call for 
>> acronyms such as SWF and SWC to never be mixed case.
>> 
>> - Gordon
> 

--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message