baileyswalk
baileyswalk

Reputation: 1228

Namespace best practices when dealing with a 3rd party company

Probably down to preference but I was just after some of your thoughts; I have a scenario where I am working with two 3rd party companies (possibly more in the future) and we provide a service for said companies via individual business logic within the same technology.

Would my namespaces be better laid out like this:

MyCompany.Technology.OtherCompany1
MyCompany.Technology.OtherCompany2

or like this:

OtherCompany1.Technology
OtherCompany2.Technology

Thnx.

Upvotes: 0

Views: 176

Answers (2)

182764125216
182764125216

Reputation: 956

I would say personal preference.

If there is a lot related in Technology I would do it the first way. If they are completely different the second way might work better.

this might be one for the community wiki

Upvotes: 0

Bernard
Bernard

Reputation: 7961

The former, since it includes a reference to your company.

Upvotes: 1

Related Questions