Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to choose a good namespace name? [Linguistically] [closed]

English in not my native language, therefore it is a little more difficult to pick a good name for a namespace. Are there any best practices, conventions or rules I should adhere to?

One example to make you see my problem a bit better:

We have a set of classes that have to do with the way a company is organized (we can create organizational charts with it). Currently the namespace is CFW.CoreSystem.Organizational. Is this a good name?

Comments are most welcome!

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

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

like image 819
Kees C. Bakker Avatar asked Nov 25 '11 12:11

Kees C. Bakker


1 Answers

Follow Microsoft guidelines:

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

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

like image 174
Saeed Neamati Avatar answered Oct 27 '22 00:10

Saeed Neamati