Tutorial Catalog

Method Decomposition Techniques

Technical Debt: Long Method

Refactor this long method into smaller, focused methods.

View Tutorial

DRY Refactoring Patterns

Technical Debt: Duplicate Code

Identify and extract the duplicated validation logic.

View Tutorial

Introducing Value Objects

Technical Debt: Primitive Obsession

Replace primitive strings with proper value objects.

View Tutorial

Move Method Refactoring Techniques

Technical Debt: Feature Envy

Move the behavior to the proper class.

View Tutorial

Reducing Class Coupling

Technical Debt: Inappropriate Intimacy

Refactor to use proper interfaces instead of direct access.

View Tutorial

Replacing Magic Numbers

Technical Debt: Magic Numbers

Replace numeric literals with named constants.

View Tutorial