Lessons by tag «dependency inversion»
We found 24 lessons lessons about the «dependency inversion» in the Hexlet catalog. These lessons on «dependency inversion» are available in the following courses: JS: Advanced Testing, JS: Polymorphism.
Learn to eliminate side effects with polymorphism
Learn how to use prototypes to your advantage
Explore a property-based approach to testing
Explore mocking and learn how to distinguish them from stubs
Learn how to properly restore the environment. Explore the virtual file system.
Learn how to properly test code that throws exceptions
Consider several examples of systems and identify a common pattern..
Learn about the course, its structure, objectives and goals.
Explore the concept of "design pattern"
Learn to replace conditional constructions with a lookup table
Learn to see where you need to use polymorphism of subtypes
Explore a practical example of using polymorphism in real life.
Learn about common mistakes that cause polymorphism of subtypes to be lost
Explore the Dependency Inversion Principle and learn how to follow it using Dependency Injection
Learn to write object-oriented code built on the interaction of objects