[[Coding involves reading]], and [[Reading involves perception]]. When we perceive objects, we naturally organize visual elements into groups or unified wholes. Gestalt principles from Gestalt psychology explain how this works. One key principle is proximity: objects that are close together tend to be seen as a group. This principle applies to code as well. Unrelated code should be separated, often with a blank line or by organizing it into distinct sections. Adding blank lines can help clarify that the code they separate is self-contained and may be extracted into a component named according to its purpose.