I found the reference: Patterns of Software, page 6:
The primary feature for easy maintenance is locality: Locality is that
characteristic of source code that enables a programmer to understand that
source by looking at only a small portion of it.
There’s also a nice short discussion here.