Here's a story that explains this concept. A programmer goes to his manager, presenting a paper with a lengthy problem for the manager to solve. The manager looks over the paper, thinks for a few minutes, then writes down the answer. The employee then tells the manager "What were you doing for the last 5 minutes? It didn't look like you were working at all". The manager responds saying "I was thinking about the problem before coming up with the solution".
The programmer then informs the manager that this is what it is like to write code all day. But since programming looks like you are just sitting there not doing anything for much of the time, then you have to pretend to be doing something whenever someone walks by so it doesn't look like you are just goofing off (otherwise they feel that they can interrupt you breaking your train of thought). And that makes programming less efficient.
The manager was then enlightened.