パンくず
書籍 Refactoring to Patterns
Generalization
概要
Generalization、汎化に関するリファクタリング
汎化に関するリファクタリング
Refactoring | リファクタリング |
---|---|
Form Template Method | Template Methodの形成 |
Extract Composite | Compositeの抽出 |
Replace One/Many Distinction with Composite | Compositeによる単数・複数別の処理の置き換え |
Replace Hard-Coded Notifications with Observer | Observerによるハードコードされた通知の置き換え |
Unify Interfaces with Adapter | Adapterによるインタフェースの統合 |
Extract Adapter | Adapterの抽出 |
Replace Implicit Language with Interpreter | Interpreterによる暗黙的な言語処理の置き換え |