知識冒險者
Search
搜尋
暗色模式
亮色模式
閱讀模式
探索
refactoring
此標籤下有 17 條筆記。
2026年10月05日
Decompose Conditional 要抽的是三段,不只是條件
refactoring
clean-code
javascript
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
clean-code
javascript
2026年10月05日
攤平巢狀條件有兩條路:guard clause 省求值,重複條件換平行
refactoring
clean-code
javascript
2026年10月05日
條件抽成變數還是 function,判準是求值時機與規模
refactoring
clean-code
javascript
2026年10月05日
特例物件只適合合法的空狀態,不適合查詢失敗
refactoring
design-pattern
錯誤處理
2026年10月05日
重構-改善既有程式的設計(簡化條件邏輯)
refactoring
clean-code
javascript
reading
2026年8月01日
Anthropic 各部門使用 Claude Code 筆記
ai
frontend
react
reading
refactoring
testing
tools
typescript
2026年8月01日
Mysterious Name
code-small
refactoring
2026年8月01日
何時需要重構
reading
refactoring
2026年8月01日
單元測試不是有寫就好
testing
refactoring
unit-test
webconf
2026年8月01日
將多個前端專案整合至 Monorepo 架構
frontend
nextjs
react
refactoring
testing
2026年8月01日
理解性重構
reading
refactoring
2026年8月01日
重構
reading
refactoring
2026年8月01日
重構的優點
reading
refactoring
2026年8月01日
重構的目的
reading
refactoring