I think the convention when naming packages is usually to use al lowercase
which is why this difference caught my eye.   It seemed to me that using a
capital letter in naming the package made my code completion behave
differently.  This is something  I did a couple of weeks ago so my recall
may be foggy on it-  I was looking at creating some support classes for my
components and wanted to make sure that I knew why they used this in naming
their packages.





Michael Labriola wrote:
> 
> 
> Mani,
> 
> By convention, all classes in ActionScript start with an uppercase 
> character and are camel case.
> 
> So:
> 
>   DataGrid
>   SomeComponent
> 
> variable names also tend to be camel case, with a lower case first 
> letter. So, I would wager the packages are simply an extension of 
> this concept.
> 
> It is a convention though, not a rule, so, I am not sure why you 
> would see any difference.
> 
> Mike
> 
> --- In [email protected], diamondTearz 
> <[EMAIL PROTECTED]> wrote:
>>
>> 
>> Does the camel case naming of the packages in the components in 
> Flex serve a
>> special purpose?  For example listClasses instead 
> of "listclasses".  I was
>> wondering if naming them that way did something.  I noticed that 
> it seemed
>> to have an effect on my code completion but would like to know 
> more.
>> 
>> Mani
>> 
>> -- 
>> View this message in context: http://www.nabble.com/Why-do-the-
> Actionscript-display-class-packages-have-camelcase-in-their-naming--
> tf3497273.html#a9768345
>> Sent from the Flex Component Development mailing list archive at 
> Nabble.com.
>>
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Why-do-the-Actionscript-display-class-packages-have-camelcase-in-their-naming--tf3497273.html#a9768801
Sent from the Flex Component Development mailing list archive at Nabble.com.

Reply via email to