开发者

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:

MyComp开发者_高级运维any.Technology.OtherCompany1
MyCompany.Technology.OtherCompany2

or like this:

OtherCompany1.Technology
OtherCompany2.Technology

Thnx.


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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜