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 5 years have passed since last update.

開発の基本原則について

0
Last updated at Posted at 2020-12-02
Page 1 of 14

DRYの原則


Don't repeat yourself

・すべての知識がシステムにおいて単一で、曖昧さのない、信頼できる表現であること
・設計書、コード、DBなどで重複がないこと

KISSの原則


Keep it short and simple

・簡潔で単純であること

SOLID原則


単一責任の原則(Single Responsibility Principle)


・Classを変更する理由は1つでなければならない

オープン/クローズドの原則(Open/closed Principle)


・Classは拡張に対して開かれて、修正に対して閉じられていなければならない

リスコフの置換原則(Liskov substituion principle)


・派生型は基本型と置換可能でなければならない

インターフェース分離の原則(Interface segregation principle)


・クライアントが利用しないメソッドへの依存を強制してはならない

依存性逆転の原則(Dependency inversion principle)


・上位のモジュールは下位のモジュールに依存してはならない。どちらのモジュールも「抽象」に依存すべきである
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?