Managing Third Party Code or Classes in Your Own Code (Coding Techniques)

_config.yml

We have a choice when using third party classes (which we did not write and which we have no control over). We can wrap them up, or we can sprinkle them throughout our own code. This is fine if things never change. But you’re making a big bet that it doesn’t. Is it wise?

Consider this example, and if possible, follow along by opening up Visual Studio. The learning is in the doing:

Written on January 26, 2018