Managing dependency on external modules in a seamless way
Introduction Have you ever worked with a project that depends on external dependency packages throughout your application code base? External packages can change at any time, which can cause issues and make refactoring difficult. To avoid this problem, we can use the Adapter Design Pattern to wrap our external dependency packages with a wrapper component that maps their interfaces back to our internal ones. In this article, we will talk about the Adapter Pattern, and how it...
Fun with Factory Design Pattern and Python
What is the design pattern/ Software design pattern? When pattern word comes to us what do we think? When software engineers try to solve a problem, always try to find a pattern that they already used before or try to create a new one. Because it is very important for future uses and others can understand it well. That’s why design pattern comes and there are some patterns that are approved worldwide. These are very much logical...