Abstraction Extraction
← Back to DRY
Identifying duplicated logic and extracting it into a shared function, class, or module. The key judgment is whether duplication represents the same concept or merely similar code — premature extraction of coincidental duplication increases coupling.