0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

勉強メモ

Posted at

SOLIDの原則

  • S: SPR 単一責任の原則 -> 責任は1つにすること。
  • O: OCP 開放閉鎖の原則 -> クラスの種類を拡張しても修正がないように。
  • L: LSP リスコフの原則 -> サブクラスはスパークラスで代用できること。
  • I: ISP インタフェースの原則 -> 粒度を考えろ。使用しない関数を無理にimplementしないこと。
  • D: DIP 依存性逆転の原則 -> 高水準は低水準に、抽象は詳細に依存してはならない。

開発者が知っておくべきSOLIDの原則 | POSTD

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?