Python によるオブジェクト指向プログラミング
Alex Yarosh
Content Quality Analyst @ DataCamp
+ などの組み込み演算子のオーバーライド__getattr__(), __setattr__()+ などの組み込み演算子のオーバーライド __getattr__(), __setattr__()Single-responsibility principle(単一責任)
Open-closed principle(開放/閉鎖)
Liskov substitution principle(リスコフの置換)
Interface segregation principle(インターフェース分離)
Dependency inversion principle(依存関係逆転)
Python によるオブジェクト指向プログラミング