How to choose a good namespace name? [Linguistic]

English is not in my native language, so it’s a little harder to choose a good name for the namespace. Are there any best practices, conventions, or rules that I must adhere to?

One example to slightly improve my problem:

We have a set of classes that are associated with the organization of the company (we can create organizational charts with it). Currently the namespace CFW.CoreSystem.Organizational. Is that a good name?

Comments are welcome!

(There are many questions about good class names , but this question is about namespaces !)

Edit
What is the linguistically best way to name a namespace? ( CFW.CoreSystem.Configurationbetter than CFW.CoreSystem.Configurables).

+5
source share
4 answers

Follow Microsoft recommendations:

http://msdn.microsoft.com/en-us/library/ms229026.aspx

Company (Product | Technology). [. Feature] [. Namespace]

+9
source

, . , , . , , , . , ... CFW.CoreSystem.Controllers, .

0

, :

Company.Program.BL.Something;
0

MSDN - . Net Framework.

A consistent naming pattern is one of the most important elements of predictability and openness in a managed class library. The widespread use and understanding of these naming principles should address many of the most common user questions. This section has naming conventions for the .NET Framework. For each type, you should also take note of some general rules regarding capitalization styles, case sensitivity, and word selection.

0
source

All Articles