开发者

Protect you application from changes from a third party application [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this开发者_如何学C question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question

I was made this question on an interview today: You want to make an application that relies on a third-party application but you want to shield it so that changes from the third-party application don't break your application.

What I say was that I would create a proxy application so that I can develop my application and if ever a new release of the third-party breaks the application, then I would change the proxy.

Is that a real solution? Is there any other approaches?

Thanks.


I would say that you can't be absolutely certain that future changes don't break your software. This is why .NET has the attribute Obsolete: to provide backward compatibility while giving you a version or two to change your code to keep up.

The only real fix I can imagine is actually packaging the third-party app with your software. This way, the version won't change until you're ready for a new release.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜