知識冒險者
Search
搜尋
暗色模式
亮色模式
閱讀模式
探索
design-pattern
此標籤下有 8 條筆記。
2026年10月05日
Introduce Special Case:把特殊值做成同形狀的物件
refactoring
design-pattern
javascript
2026年10月05日
Replace Conditional with Polymorphism:switch 不會消失,只會收斂到 factory
refactoring
design-pattern
javascript
2026年10月05日
特例物件只適合合法的空狀態,不適合查詢失敗
refactoring
design-pattern
錯誤處理
2026年8月13日
共用能力 context 會隨副作用種類膨脹
design-pattern
react
dependency-injection
architecture
carbonx
2026年8月13日
用 reaction hook 讓副作用各自帶依賴
design-pattern
react
dependency-injection
architecture
carbonx
2026年8月13日
註冊表分派 side effect(Registry + Strategy Handler)
design-pattern
react
frontend
architecture
carbonx
2026年8月01日
ES Module Singleton vs Class Singleton In JS
design-pattern
2026年8月01日
JS 中的 Singleton
design-pattern