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.

良いプログラミングをするには、適切な分離作業が必要(関心の分離)

Last updated at Posted at 2022-06-10

日々発展する変化に対応可能な設計を考慮しなければならない。よくできているProgramだとしても必ず変更が起きる。開発の効率性を高め、メンテナンスにかかる時間を減らすため分離作業は必要になる。こういう分離のことを関心の分離という。

関心の分離:関心毎に処理を分けていくこと。Separation of Concerns、SoC。
      関心を役割や機能別に適切に分けて、理解しやすくなるし、修正や変更もしやすくなる。
      例えば、Codeを2種類(common code、uncommon code)にを分離することで
      commonは再使用可能になり、uncommonの変更に対する影響も最小化できる。
      MVCモデルが代表的な例だ。

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?