[Day 7++] 番外篇 設計模式中英對照表


GoF 23種設計模式中英對照表

創建型模式

Creational Patterns

中文 英文
簡單工廠模式 Simple Factory
工廠模式 Factory
抽象工廠模式 Abstract Factory
單例模式 Singletion
原型模式 Prototype
建造者模式 Builder

結構型模式

Structural Patterns

中文 英文
表象模式 Facade
合成模式 Composite
轉接器模式 Adapter
代理模式 Proxy
裝飾模式 Decorator
蠅量級模式 Flyweight
橋梁模式 Bridge

行為型模式

Behavioral Patterns

中文 英文
命令模式 Command
觀察者模式 Observer
策略模式 Strategy
樣板模式 Template
走訪器模式 Iterator
狀態模式 State
責任鏈模式 Chain of Responsibility
解譯器模式 Interpreter
中介者模式 Mediator
備忘錄模式 Memento
拜訪者模式 Visitor
#寫作松 #設計模式







你可能感興趣的文章

PHP 和 MySQL 的互動 2 : CRUD

PHP 和 MySQL 的互動 2 : CRUD

[JavaScript] 用 Jest 做單元測試

[JavaScript] 用 Jest 做單元測試

寬 補

寬 補






留言討論