學到的design pattern整理

Creational patterns:

Abstract factory

Dependency Injection

Factory method

Lazy initialization

Singleton

Structural patterns:

Adapter, Wrapper, or Translator

Behavioral patterns:

Command

Concurrency patterns:

Ref:

https://en.wikipedia.org/wiki/Software_design_pattern

%d 位部落客按了讚: