The Library Locker - An Antipattern
The “Library Locker” is a common anti-pattern for incorporating third party libraries into an application. The application wraps the library with its own function, which mixes concerns and makes the library more difficult to use. In this article, we will first consider the original problem the library locker is introduced to solve, then an example of the library locker, and then suggest better alternatives. The Problem Suppose we have system of microservices that support astronomical applications. We locate our calls to our other microservices in a service directory. ...