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 1 year has passed since last update.

プログラミングの原理原則

Posted at

SRP (単一責務の原則)
参考:https://qiita.com/riekure/items/904f56713c3e213920fa

OCP (オープンクローズドの原則)
参考:https://qiita.com/riekure/items/41c891c50a868cfd5939

LSP (リスコフの置換原則)
参考:https://qiita.com/riekure/items/cfc6f8e160ec975153ba

ISP (インターフェイス分離の原則)
参考:https://qiita.com/riekure/items/8b6b8adf641285e22113

DIP (依存関係逆転の原則)
参考:https://qiita.com/riekure/items/ab6b5deb391399944a15

CQS (コマンド/クエリ分離の原則)
参考:https://rakusui.org/cqs/

DRY (Don't Repeat Your Self 原則)

同じコードを重複して書かないこと

  • コードを読む作業が難しくなる
  • コードを修正する箇所が多くなる
  • テストがない可能性が高い
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?