Move declaration and initialization together

  • 2025-10-18

선언과 초기화를 가까이로 옮기기. 타이딩의 하나.

When you come across code that separates the declaration (with a possible type) and initialization, it’s harder to read. By the time you get to the initialization, you’ve forgotten some of the context of what the variable is for. —Tidy first? A personal exercise in empirical software design