{"id":"gof-template-method-refactoring-to-generalize","text":"Template Method supports the 'refactoring to generalize' technique (Opdyke and Johnson): identify differences in similar code, separate them into new operations, then replace differing code with template method calls.","truth_value":"IN","source":"entries/2026/06/17/gof-oo-chunk-20.md","source_url":"","source_hash":"","justifications":[],"dependents":["refactoring-to-generalize-operationalizes-template-method-discovery"],"metadata":{"last_premise_reviewed":"2026-06-17T18:19:22","premise_review_result":"pass"},"created_at":"2026-06-17T21:30:27+00:00","updated_at":"2026-06-17T21:30:27+00:00","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"gof-template-method-refactoring-to-generalize","truth_value":"IN","reason":"premise"}]}}