타이딩
- 2024-09-08 (modified: 2025-10-18)
Tidyings are a subset of refactorings. Tidyings are the cute, fuzzy little refactorings that nobody could possibly hate on.1
즉각적인 가치
Software design creates value, when it creates value, that is realized over time. Tidy first is a bit of an exception. When you tidy first, you know you will realize the value of tidying immediately.1
리팩토링에 대한 오해
“Refactoring” took fatal damage when folks started using it to refer to long pauses in feature development. They even eliminated the “that don’t change behavior” clause, so “refactoring” could easily break the system. Let’s see: no new features, possible damage, and nothing to show for it at the end. No thank you.1
타이딩 목록
- Guard clauses
- Dead code
- Normalize symmetries
- New interface, old implementation
- Reading order
- Cohesion order
- Move declaration and initialization together
- Explaining variables
- Explaining constants
- Explicit parameters
- Chunk statements
- Extract helper
- One pile
- Explaining comments
- Delete redundant comments