Articles用 TypeScript 學設計模式用 TypeScript 學設計模式用善用型別的實用 TypeScript 程式碼,每集學習一個 GoF 設計模式。YouTube Playlist Strategy 模式:把 if 分支拆成類別