One pile
- 2025-10-18
코드가 너무 조각나서 읽기 어려우면? 일단 하나로 다 모은 뒤에 거기에서부터 시작하기. 타이딩의 일종,
Sometimes you read code that’s been split into many tiny pieces, but in a way that hinders you from understanding it. Inline as much of the code as you need until it’s all in one big pile. Tidy from there. …
The goal of this bias toward small pieces is to enable the code to be understood a little at a time. Sometimes, though, this process goes wrong. Because of how the small pieces interact, the code is harder to understand. To regain clarity, the code must first be mooshed together so new, easier-to-understand parts can then be extracted.
—Tidy first? A personal exercise in empirical software design