Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Breaking Dependencies to Improve Code

via CodeSignal

Overview

Breaking dependencies is crucial in existing systems to make them more testable, maintainable, and extensible. By reducing coupling and isolating functionality, developers can introduce changes incrementally while minimizing risks. In this course we focus on removing coupling with traits and dependency injection techniques for testability.

Syllabus

  • Lesson 1: Refactoring Tight Coupling with Traits
  • Lesson 2: Dependency Injection with Constructors
  • Lesson 3: Dependency Injection with Methods
  • Lesson 4: Removing Global State

Reviews

Start your review of Breaking Dependencies to Improve Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.