(software, design) a technique by which classes may achieve polymorphic behavior and code reuse by containing other classes that implement the desired functionality instead using inheritance.
composite reuse principle
コードベースをレビューするとき、彼女は合成による再利用の原則によってチームが深い継承階層に頼らずに実行時に振る舞いを入れ替えられたことを指摘しました。
アカウントを持っていませんか? 新規登録
アカウントを持っていますか? ログイン
DiQt(ディクト)
無料
★★★★★★★★★★