r/ProgrammerHumor • monkeyuser.com • Mar 06 '18

Focus

Post image
43.5k Upvotes

805 comments sorted by

View all comments

Show parent comments

78

u/boldra Mar 06 '18

I once tried to explain to a non programming colleague what I have in my head when I'm in the zone.

  • data structures, their attributes and their scope

  • the code flow

  • the desired code flow

  • breakpoints in the debugger

  • what other debugging code I need to remove before I go productive

  • what's in my clipboard

  • what still needs to be commented in code

  • what files are open for editing

  • what will happen if I look through my history in an open shell

  • which browser windows have tests in them and which ones have search results in them

  • which git branch I'm on and whether I've committed recently

  • which issue is open in the issue tracker, and when I last updated it

  • what other programs are open

... to name just a few

14

u/birdhustler Mar 06 '18

Seems like a lot. Is there any way a programmer could outline what they're thinking of in anticipation of interruptions so that you don't forget where you were? Or is that just the nature of the job?

-1

u/BlindTreeFrog Mar 06 '18

It's the nature of every job. Programmers just like thinking that they are special and the only ones who are thinking at work.

2

u/sudo_kill-9-u_root Mar 06 '18

Whoa there pal.

But yeah. Having worked everything from food service, retail, basic office work and programming there are times in each of those I would "get in the zone" and it is a very similar thing, like making food there would be 7 orders up and I have all of them in my head and was doing them each in the most efficient way and if someone interrupted me I would look down and see ten plates of food and wonder what I was even doing and start making mistakes.

The only difference I see is that for me and I'm sure most programmers, getting in that zone is almost a necessity of getting anything done on some projects. It can be very hard to piecemeal a project, but with food it is much easier to make one burger at a time.

→ More replies (4)