Multitasking kills your Productivity
Programmers love multitasking: Surfing the web while a time-consuming test suite is running. As usual there is a video encoding running too. And some number crunching program which will tell you the question to the answer when it’s done. This is great, right? Who knows, but I just wanted to mention which kind of multitasking I am NOT going to talk about.
“Yeah, so … ?”
Imagine the following: you got your working environment fired up and just encountered a bug. Must be somewhere in the controller logic because – oh, a new follower on Twitter! Let’s see who this is. Two minutes later you are back to work, looking for the right file. Your phone rings, you answer it.
Half an hour later you know the latest gossip, got next Sunday evening planned but the bug is still there. And while you were talking you noticed some notifications telling you there’s new mail, so of course you check your inbox. Might be important. Oh, is it lunch already? Yummy, today is pizza day!
“C’mon, this is hugely exaggerated!”
Are you sure about that? I know not every morning is wasted like this. But some are and nearly none is without any distraction. Think about it: when is the last time you worked for at least two hours absolutely focused? No RSS, no quick look at Facebook or Twitter, no IM or SMS, not even a glimpse at incoming e-mail. I bet you can’t remember.
Computers are filled with all those tiny distraction-factories. Every mail client supports some kind of instant notification. Small red numbers (badges) on application icons scream for attention. And of course all your friends want to know what you are doing once in a while. Bye bye, productivity.
Every time you get distracted for a second it takes you minutes to wrap your mind around the current problem again. Programming is a profession of creativity and thought. Focus or lose. Your choice.
“But I need to be up to date!”
Tell you a secret? No, you don’t.
Yes, there might be that one e-mail claiming to earn you a million bucks, but you can read it later. It will stay in your inbox patiently, waiting for you to return. Bonus: you might have these annoying e-mails once in a while. Those containing work to do. Problems to solve. When I stopped responding to e-mails immediately, I was surprised to find lots of “never mind, solved it” messages in my inbox regularly. Enforcing disciplined e-mail habits saves time! I will talk about my experiences more in depth in a following article.
Reading Twitter only once a day feels wrong. Deeply wrong. I am still struggling to force myself to reach that goal. But to be honest: when you click that funny link in the evening you won’t laugh less just because it has been tweeted a couple of hours ago.
Switch off your phone and click the close buttons of the instant messengers. Great. Now there’s a reasonable chance to get some work done!
“I’m a programmer but – believe it or not – I still have a social life”
Oh right, sorry. Surely you can’t combine both.
Well, of course you can. My suggestions may seem very drastic but they do work. Your goal should be to have a “focus time” each work day with the least possible distractions. Depending on you this might be in the morning, in the afternoon or at night.
I’m currently trying to shut down all distractions for a couple of hours and eliminate the considerably needless ones permanently. There is just no use in checking e-mail more than twice a day. And yes, I do run my IMs for most of a day’s time as there is an apparent benefit – staying in touch with friends :)
Checklist for improved productivity
- Monitor yourself and your programs
- Reveal all distracting tools and devices
- Find a way to turn them silent
- Do it
- Make it a habit
- Enjoy the productivity boost
To get started you might want to follow Everett Bogue’s advice in his article 7 Simple Ways You Can Disconnect for a weekend.
I hope you found this article helpful. For updates subscribe via RSS, mail or follow me on Twitter. And please share your thoughts and experiences in the comments if you like.
Comments
Fortunately I already have the habit to not read twitter or email every some minutes. I fire up my twitter app every second day or if I want to key down a thought. I check EMail fairly often, but because I’m using it at that point of time, keep reminders there (will change soon) or wait for an incoming receipt ect. So I don’t read EMail when I do something different.
Still I’m distracted, not because of EMail or twitter or phone but by my mind. It wanders off relatively often. I’m trying to stay focused, but is harder than you think it is. ;) Another problem are distractions like: You try to figure out the reason for a bug and come across a part of your code you wanted to refactor. I often switch to refactoring, thinking I only need a few minutes. An hour later I’m back to figuring out the bug …
That one is harder to solve. ;) Besides: In my opinion switching what you do fast / often isn’t multitasking. It’s just distraction and a lack of focus.
The kind of distraction nobody is immune to: People talking to you personally. Not via phone or email.
Thanks for sharing your thoughts again :)
You’re right, there are both internal and external distractions and I only covered the latter. I think calling it “multitasking” is valid when you look at it from the perspective of having amounts of stuff in your mind at the same time. But I’m fine with you using different terms – it doesn’t matter as long as the main idea is made clear.
Relating to people contacting you in person: Well, the only thing you can do in this case is asking them to respect your focus-times and not interrupt you. Even or especially when they are sitting in the same room. They can write down their concerns or send you a mail.
I have been using timesnapper for a while; you should give it a try.
http://timesnapper.com/
Hi Leyu!
This looks like a fun tool. Unfortunately they only offer a Windows version and I’m on a Mac. But thanks anyway :)
I am reading this article while multitasking ;)
may be thts the reason y our company don’t provide net access to employee :-/
I agree that it’s hard to get back to what you were doing before a distraction. I started using RescueTime a couple days ago on my Mac. It tracks the window you are using, the activity related to it and the time you spend. The first day I realized how much time I have been spending in social networking and IM. It also has a feature called Get Focused: it blocks whatever site or program you previously set as distracting for the time you need. It has really helped me to recover my productivity :)
Hi Andrea!
I’m using exactly the same tool for two weeks now. It’s interesting in a couple of ways and I consider sharing my statistics eventually. To be honest, I don’t think it can tell you how productive you are (the tool can’t distinguish between churning out lines of code and just staring at them). But as you said, it can definitely tell you when you are NOT :)