Use dependency injection in python to decouple your code

Would you like to learn how to decouple your Python code by using dependency injection? After watching this video you have learned how to create a class in Python with a custom constructor that allows you to inject data.

The example in the code shows you how to create and instantiate an employee class and use constructor injection to pass names and salaries.

You can find the (slightly extended) code on GitHub or watch more of my software engineering videos on youtube.

GrĂ¼sse aus Berlin!