Move Behavior to Its Owner
Kind: technique
Layer: Structural Core
Record: lexicon:move-behavior-to-its-owner
Canonical: Lexicon
A technique for moving a method or function to the module that owns the data it reads and writes.
Listed in Lexicon terms, after Split Module and before Extract Function.
Category
Refactors
- God Object
- Shotgun Surgery
- Divergent Change
- Feature Envy
- Message Chain
- Utility Dump
- Explicit Boundaries
- Single Responsibility Principle
- Separation of Concerns
- High Cohesion
- Layered Architecture