オブジェクト指向の原則2:リスコフの置換原則と継承以外の解決方法

Rating 4.46 out of 5 (267 ratings in Udemy)
What you'll learn
- リスコフの置換原則を理解する
- 継承のガイドラインを理解する
- 似てるから継承するという誤りを理解する
- 継承以外の解決方法アイデア1~4を理解する
- 似てるから共通化するという誤りを理解する
Description
どうもこんにちは,ピーコックアンダーソンです。
今回はオブジェクト指向の5大原則の中から
「リスコフの置換原則」をテーマに解説しています。
「リスコフの置換原則」は継承のガイドラインになる原則ですが,
この原則に加えて,
継承をするべきではないケースの場合に,どのように解決するべきか
ということを,「継承以外の解決方法」と題して,
追加で解説しています。
なので,1原則にもかかわらず,結構なボリュームになったので
「リスコフの置換原則と継承以外の解決方法」ということで
リリースさせていただきます。
リスコフの置換原則はオープンクローズドの原則のガイドラインにもなり,
正しい抽象の使い方ができているかのガイドラインになります。
そして,原則に反してしまう場合に,ど …
Duration 3 Hours 58 Minutes
Paid
Self paced
Intermediate Level
Japanese
1463
Rating 4.46 out of 5 (267 ratings in Udemy)
Go to the Course
We have partnered with providers to bring you collection of courses, When you buy through links on our site, we may earn an affiliate commission from provider.
Paid
Self paced
Intermediate Level
Japanese
1463
Rating 4.46 out of 5 (267 ratings in Udemy)
Go to the Course