Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Maintainable Python & Rust Architecture
·
Module 2
Dependency Management and Injection
1
Understanding and Untangling Code Dependencies
Map the dependency graph of an existing codebase and identify problematic patterns like circular dependencies.
Breaking Circular Dependencies
Describe common strategies for breaking circular dependencies, such as callback functions or module extraction.
3
Breaking Circular Dependencies
Refactor a given codebase to eliminate a circular dependency using a chosen strategy.
4
Constructor Injection in Python
Implement constructor-based dependency injection in Python to decouple components.
5
Trait-Based Dependency Injection in Rust
Implement trait-based dependency injection in Rust to decouple components.
Previous module
Foundational Design Principles
Next module
Codebase Structural Patterns