When using company as a part of the namespace identifier, what should it be called if the company name is comprised of multiple words and all in capital letters?
Please note, company’s website, all their documents, and every printed piece of material is using this form, so it is not just matter of branding/logo – this is how company name is being actually used.
Take for example company named “FASTDATA“
There is a number of variations that could apply
Fastdata.Product.Feature
FastData.Product.Feature
FASTDATA.Product.Feature
MyCompany.Product.Integration.Fastdata
MyCompany.Product.Integration.FastData
MyCompany.Product.Integration.FASTDATA
I have been reading Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries, Second Edition but there seems to be no guidance for such case…
This is, somewhat, a matter of choice. The most important thing here would be consistency.
The “Framework Design Guidelines” book does suggest to use “the offical name of your company or organization when choosing the first part of your namespace name” (via Brad Abrams, on page 56), which would suggest the appropriate choice would be:
This is further expanded upon on page 57, in the section titled “DO use PascalCasing”: