Skip to main content

17 docs tagged with "refactoring"

View all tags

Branch by Abstraction

Manage large refactorings and migrations through feature flags and abstraction layers.

Dependency Inversion Principle

High-level modules should not depend on low-level modules; both should depend on abstractions. Invert the dependency flow.

DRY: Don't Repeat Yourself

Master DRY principle: eliminate knowledge duplication for maintainable code, improved consistency, and reduced bugs.

Evolving Models

Strategies for refactoring and improving domain models as understanding deepens

God Object / God Class

One class doing too much with many responsibilities, violating single responsibility principle.

Information Expert

Assign responsibility to the class that has the information needed to fulfill it

Law of Demeter

Master the Principle of Least Knowledge to reduce coupling and improve maintainability in complex systems.

Spaghetti Code

Complex, tangled control flow without clear structure, making code hard to understand and modify.

Strangler Fig Pattern

Incrementally replace legacy systems by growing new functionality alongside the old.