Replying to @tef@mastodon.social
it was either russ cox or rob pike, someone bell labs flavoured, who talked about the two different types of debugging approach, one involved surgical application of printfs and the other involved leaning back in your chair and thinking about it for a bit
the joke then was that the chair leaner always seemed to nail the problem
diving into "what is my code doing" is useful sure but sometimes asking "what sort of code would have done this" can narrow down the search window to a single line