LoginSignup
2
0

More than 1 year has passed since last update.

デザインパターン

Posted at

オブジェクト指向のデザインパターン

  • シングルトン
    値の受け渡しがなく、同じ情報が取得できる
    全プログラム内で同期がとれた共有オブジェクト

  • ファサード
    窓口を設けるため、疎結合になり、呼び出し側に制御をかかないので
    バグが減る

  • ファクトリー
    ファクトリークラスがオブジェクトの生成処理と、
    生成するオブジェクトの種類の変更を動的に行う

2
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
2
0