TechWorkRamblings

by Mike Kalvas

202204272256 Create internal APIs on top of dependencies

When we use a dependency — whether first- or third-party — widely in our code, we should wrap that dependency in a simple to use, internal API which becomes the only way our app can use that functionality.

This is sometimes called the strangler pattern, but that term is also sometimes used for a different situation.

There are many benefits of doing this.