7. POODR will help you from www.poodr.com
❖ Decide what belongs in a single class
❖ Avoid entangling objects that should be kept separate
❖ Define flexible interfaces among objects
❖ Reduce programming overhead costs with duck typing
❖ Successfully apply inheritance
❖ Build objects via composition
❖ Design cost-effective tests
❖ Craft simple, straightforward, understandable code
8. POODR will help you from www.poodr.com
❖ 1つのクラスに属するものを決める
❖ 分けられているべきオブジェクトがもつれないようにする
❖ オブジェクト間の柔軟な「インターフェース」を定義する
❖ 「ダックタイピング」でコーディングのオーバーヘッドコストを削減
❖ 「継承」を正しく適用する
❖ 「コンポジション」を使ってオブジェクトを生成する
❖ 費用対効果の高いテストの設計
❖ シンプルで、わかりやすく、理解できるコードを作成する