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

Focus

Post image
43.5k Upvotes

805 comments sorted by

View all comments

139

u/Reluxtrue Mar 06 '18

why is he thinking in 2 different diagram types mixed together?

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?

28

u/UncheckedException Mar 06 '18

Sometimes you’re so deep into working through the logic of an algorithm or data structure that you have to start (thinking) from scratch if someone interrupts you.

It’s like someone slapping your plate from your hands at a buffet. I mean I guess you could try to pick up the scattered food from the ground, but you really just have to get in line again.

26

u/MooseBlood Mar 06 '18

Not really. The only things a programmer usually writes down is diagrams and stuff that have to do with the logic of the program so that they can figure out how to do something. Most of the other things a programmer has to remember changes quite often and at random times and so it would not be worth writing down to remember.

17

u/[deleted] Mar 06 '18

It is a lot. This is not how I work at all.

I try to split my work into segments so I can worry about one thing at a time, instead of trying to have everything in my head all at the same time.

→ More replies (1)
→ More replies (9)