Hacker News new | ask | show | jobs
by DonHopkins 2488 days ago
I remember code as places I've been (like a memory palace), that are connected to each other by the control and data flow. So my memories of old code are quite concrete, tangible, and first-person, and I can reconstruct the details and context by remembering the other places it was connected to, and my (the program counter's) journey from place to place that I took when I first encountered those locations (loci).

https://en.wikipedia.org/wiki/Method_of_loci