Liskov substitution principle
plural of burial
(object-oriented programming) A principle stating that any type having a subtype should be replaceable by its subtype without altering any of the desirable properties (such as correctness, task performed, etc.) of the program.
present participle of famish
(zoology) Any of the dinosauromorphs of the family Lagerpetidae.
クラス階層を設計する際、サブタイプがスーパタイプの役割を損なうことなく置換可能であるべきという原則(リスコフの置換原則)を守れば、クライアントコードでサブクラスがスーパークラスの代わりに使われたときの予期しない動作を防げます。
Don't have an account? Sign up
Do you have an account? Login
DiQt
Free
★★★★★★★★★★