Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8638991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T10:53:04+00:00 2026-06-12T10:53:04+00:00

What are the naming conventions for packages with names that contain more than one

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T10:53:05+00:00Added an answer on June 12, 2026 at 10:53 am

    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:

    javax.swing.colorchooser
    java.awt.datatransfer
    

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that the naming conventions really don't say anything about that, but I
Here http://source.android.com/source/code-style.html#follow-field-naming-conventions it is stated that : Field Names Non-public, non-static field names start
I've read much about android package naming conventions, but still have no idea what
What are the naming conventions that you use while coding?
According to naming conventions, which one is recommenced? * WorkspaceViewModelFactory * WorkspaceVMFactory * WorkspaceViewModel_Factory
so I have inherited an Access DB with different naming conventions applied to tables.
I have a variable in a package ( rec in this case) that needs
Naming conventions are important, and primary key and foreign key have commonly used and
According to the General Naming Conventions the usage of CLR type names (e.g. String
I have a question about C# Event naming conventions: private void button21_Click(object sender, EventArgs

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.