What are the naming conventions for packages with names that contain more than one word?
Lets say I have a package named ‘garden hose’, should I name it garden_hose, gardenHose or simply gardenhose?
I know that packages are normally named with lower-case letters only. I only see package names made out of one word in the api, are there any conventions for package names made out of several words?
With classes we have: ClassName. For instance RaceCar, what about packages?
I have a package named animationPath and I am wondering if I should rename it.
Package names should all be lowercase. there are no examples in the ActionScript 3 documentation, since they all seem to have one-word-name, but several package names in another ECMAScript derived language, Java, reveals this convention. For example:
However, I have also seen packages named in camelCase, ALLCAPS, and even CapitalCase. While i would suggest that you avoid using ALLCAPS, as this convention is typically reserved for constants, and CapitalCase convention is typically reserved for class names, i believe camelCase package names, if desired, would be more forgiving.