How to Get Into the Zone as a Programmer
- by Scott Whigham on February 10, 2009 3:57 PMOver at LearnItFirst, I often get to be the one in charge of picking out the (background) music that we listen to while coding/designing. Right now, since I'm doing a blog post instead of programming, we're listening to a bit of lively Rod Stewart - Never a Dull Moment (amazon). Not a great album, mind you, but it is what it is - the album playing right now.
One of the fun questions to ask a programmer is, "How do you get in the zone while hacking/coding/designing?" Getting into the zone (and staying in the zone) is a critical piece of success in the development-oriented business. I thought it would be interesting to take a look at specifically what the "zone" is, how it relates to music (since I have a background in music), and see what types of music help us (me) get into the zone quicker and to stay in the zone.
Getting Into the Zone
Jeff Atwood talks about comparing programmers and musicians and how the music can help you get into the zone. Jeff says,
I adore music. I have a vast music collection and I love listening to music and exploring new bands and genres I haven't heard. But I have zero musical ability. So it's not really appropriate for me to comment on this. I've read the same observation expressed in many different places. Enough so that I do wonder if there's some kind of relationship between being a musician and being a programmer.
Okay - here's two subjects that I know quite a bit about: musical ability and programming. Not that many people who know me today know it but I am a pretty good guitar player - and I should be: I spent a decade studying and playing semi-professionally. I started going to school formally at the age of thirteen to study jazz and classical and, after high school, I attended the prestigious Berklee College of Music on a full scholarship. Jazz, in particular, is a type of music where you absolutely must be "in the zone" to excel; you're up there improvising your way through song after song, sometimes with musicians you have never played with before. The more you able to hone into the subtleties of the music and group, the more the group will soar and propel you to new heights... I digress...
Anyway, my point is that "the zone" for programmers is slightly different yet no less important.
The Zone for Jazz Musicians
I played jazz - and I'll be happy to share my favorite groups (then and now) if anyone cares to hear it. The zone that I needed to be in to play jazz required:
- An idea of what is normal in a given song, situation, combo, etc
- A deep knowledge of how things should go - how they should sound
- The technical ability to play any given sound you can dream up
- An emptiness that allows you to have no preconceived notions of where the music should go; you want to "go with the flow" ideally
- Ability to understand what the other musicians would add/subtract if I did something unexpected/expected
- An emptiness that allows you to not play things you've played or heard before; to just "be" (you don't want to wind up playing rote licks or patterns that you've practiced)
There is more, of course, but if you have the above taken care of, you are absolutely free to play anything you hear in your mind instantly. It's complete and utter freedom.
The Zone for Programmers
For me to get in the zone as a programmer requires a lot of the same ideas, just in a different context:
- An idea of what is normal in a given application, situation, user interface, etc
- A deep knowledge of how things should go - how they should feel
- The technical ability to code any given solution you can dream up
- An emptiness that allows you to have no preconceived notions of where the app/logic should go; you want to "go with the flow" ideally
- Ability to understand what the other developers would add/subtract if I did something unexpected/expected
- An ability to blindly (and correctly) code solutions that you've seen elsewhere or used previously
Notice that the only real difference is the last bullet point in each. In programming, you want to have a working body of knowledge that you can use over and over again (whether it be through inheritance, code re-use from other applications, copy/past via scripts) but in jazz you want to be completely original as much of the time as possible. This is a fundamental difference between the two: as a jazz musician, I pretty much had to severely limit the music I heard from other people lest it "taint" my originality. In music, too much originality can lead to productivity loss at best and security flaws at worst.
How I Got Into the Zone as a Musician
It all started with the pre-gig mentality: practicing the songs, practicing at multiple tempos so that there were no distractions, and having rehearsals so that I could get comfortable with the sounds and the musicians. On the bandstand, it was important that I not drink too much caffeine or alcohol (both of which impair that ability to empty your mind), closing my ears to outside noises (a dropped glass, for example, can ruin your concentration) and that I closed my eyes when I was really in the zone so that I didn't get distracted by the audience.
To get to the point where you can concentrate while onstage with a band takes practice - a lot of practice actually. Specifically it takes you being able to get in the zone while you're alone at your house practicing your instrument. You must develop that as a skill - it's partly what you do while you spend your 10 hours a day playing. The more quickly you can get into the zone while alone, the more quickly you can do it while onstage even with all the distractions.
How I Get Into the Zone as a Programmer
Sometimes it's a matter of just listening to the right music and I work on interesting problems. Other times it requires turning the music off. And sometimes, the only way to get into the zone as a developer is to leave the zone and the computer behind, grab a pen and some paper, and go work out my problems on paper. Once I have the solution, then I can come back to the computer and zone out for 2-6 hours at a time.
In the programming arena, eliminating distractions is critical for me to (a) get in the zone, and then (b) stay in the zone. Shutting down Outlook (my email client), closing IM (instant messaging), setting the phone on vibrate - all of these help me stay in the zone and, once I'm there, I can often stay for hours at a time. Those of you have been in the zone will know the feeling that, all of a sudden, you think your bladder is going to burst! "Oh... I guess it was about six hours ago that I last stood up. And those three bottles of water in between can't help but make things worse."
Music and the Programmer
I can't tell you how to get yourself in the zone; I can only tell you what works for me and perhaps there are corollaries that you can draw that ultimately will help you figure out what works best for you. Here's how it works for me:
- Menial tasks: any and all types of music
- Lyrics are okay and interesting music is okay since it can't distract me from my copy/paste fest
- Good musicianship is fine as well since I don't have to focus 100% of my attention on the task at hand
- Mentally challenging tasks with lots of problem solving that has already been done; now it's just time to code it up
- Now I need something without lyrics - dance/trance/electronica/jazz
- I need something with a beat that drives forward and keeps me moving - no slow songs or ballads
- I've never been able to program to classical music despite the fact that I love it. It's just either (a) too up/down/dramatic with the volume, (b) too boring, or (c) too exciting aurally. One of my favorite pieces is Bartok's Concerto for Orchestra but I'll be damned if I can code by it; I can't quit listening long enough to code!
- If I listen to jazz, it has to be something I don't particularly like (for the same reason as above). I have a tendency to memorize music and, if I find myself singing along, I've lost the game.
- Mentally challenging tasks with lots of problem solving that hasn't been already completed
- No music - too many distractions
- Pure problem solving
- No music
- No phones
- No email
- Shut the blinds
Obviously lyrics don't work for me as I get deeper into a problem.
Some of My Favorites to Program By
I put links, where appropriate, to emusic.com and amazon. When it comes to particular albums, I'm usually a fan of the latest of each artist (or else they probably wouldn't be on the list). When that's murky, I've included a specific album.
Dance/Trance/Electronica:
- Chemical Brothers
- dZihan and Kamien - Gran Riserva
- Fischerspooner
- Thievery Corporation
- Paul Oakenfold
Jazz:
- Charlie Hunter
- Kenny Garrett: Songbook, Beyond the Wall, Standard of Language
- Joshua Redman
- Pat Metheny: Trio 99->00, Rejoicing, Trio Live
- Avishai Cohen
- Chris Potter: Underground, Lift: Live at the Village Vanguard, Follow the Red Line (Pop Tune #1 is one of my favs of this decade)
World:
- Issa Bagayogo
- Bebel Gilberto
- Luciana Souza: Brazilian Duos
- Rodrigo y Gabriela
I think most people know what they like in Rock, Hard Rock and Hip Hop - it's an area where most people spend more time than in Jazz, for example, so I'll not list those here.
And, for the record, we've moved on to Kim Wilson's Tigerman.




We are a group of volunteers and starting a new initiative in a community. Your blog provided us valuable information to work on.You have done a marvellous job!
Gotta love this site. Reminds me of my boy Mickey Factz who has got his raps is off da hook!
Do you have other infos on this? I have been surfing around for this information for a long time. --------- You might think I'm nuts but I'm crazy over tropical ceiling fans.
What's up, I recently started reading this blog - thank you for the good work. As an FYI that it's not showing up properly on the BlackBerry Browser (I have a Pearl). Either way, I'm now on the RSS feed on my PC, so thanks again!
Hi, thanks for this excellent post, a really great start to the new year, keep up the fantastic work, Rachel.
Hello there, thanks for this wonderful blog, a truly great start for the new year, keep up the wonderful work, Cheryl.
Much love for this blog!
Nice post....very useful information.....
Happy day, thanks for your post, I appreciate the great content. I'll be back soon to read more!
Twitter are a MUST for webmasters!
Very interesting way to market on facebook. I also found a way to automate several very powerful methods of getting users. You can grab ID by groups or pages or wall posts with this software. Then once you have the IDs you can do a friend request to your user ID or sudo profile. This by passes the captcha codes too. There is also a cool chat program that you can setup scripts and keyword to work with. This program, when I use it I can see a spike in my site traffic. It is sweet...
Hi - cool site and knowledgeable post... Thank you! If you like the caffeine, you should look at White Flood. It has no calories and is less expensive than other energy drinks... but is usually used before working out. Anyway, I am subscribed to your RSS feed now, so thank you again!
Jazz und Funk: Das ist für mich das Beste, was es gibt! Schön, wenn man so viele mit der gleichen Auffasung im Netz findet. Noch ein dickes Lob an den Blogger!
I liked this page, it kinda reminds me of a friends site from Dream-Trance.net That's more of a dream trance kind of song though. I apologize if linking isnt okay. I run my own blog and don't like it.
Continue with the awesome articles, Appreciated
Pretty impressive article. I just came across your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be coming back and I hope you post again soon.
I visited your Website. Yours is very, very professional and more than I know how to do right now, i’ll catch up one day
Unlike many posts on the internet, this was fun to read and gave me some valuable input. I will have to put a backlink on my website. Regards. J
Its incredible now there is a professional way to fix your Red Ring Of Death I just found out today. Check my link posted. If it does not work try rrod-fix-pro dot com.
The Ballad of Century Paul von Songs Of Green Pheasant (1 Track; MP3-Download; DRM free)The Ballad of Century Paul von Songs Of Green Pheasant anhören und downloaden bei DJTUNES.COM, Europas größter DJ-Community. Release von Fat Cat Records, Releasedatum 2007-09-18 in bester DJ-Qualität (128 & 320 kbps), Länge 00:04:08. DRM free MP3 ....
Thanks lots, I have found this very good!
I truly like your web site layout its very clean, easy to read. We have recently designed a brand new bittorrent blog for games (nintendo wii, pc,ds lite,xbox 360,ps2 etc). If you have a min pay a visit to my link thank you.
I like your blog very much. Will read all. Keep up to marvelous writing on it. Thanks
This is a good secret and I agree with this because your site is truth.
It is cool that people can get the lowest-rate-loans.com moreover, that opens new chances.
Thank you for a great post
I need a crack for the Nintendo DSI.
The search that bring here, show me one site very good and many interesting.
Excellent job.
Shoe lifts often known as shoe inserts. Shoe lifts originated from "elevator shoes". The first makers of elevator shoes found it hard to create as complete a range of styles as those available in contemperary shoes. Consumers asked for for anything a little less obtrusive like an insert to put in normal footwear to make them appear taller.
Downloading music to your Mp3 player is easy and fun. Depending upon the capacity of your Mp3 players hard drive or flash drive you can store hundreds of music tracks, giving you hours of listening pleasure. Once you download music for the first time you will find out how easy it is. You can visit my web site, and choose from a variety of the top music download vendors, many offering free music.
I downloaded Battlefield Bad Company 2 last week and, even though its a"dusty" game, its the best xbox 360 game in my opinion =)
An arch support is an orthotic device designed to provide underside support for the foot. the device is placed in the inner part of the footwear so that the molded shape fits the arch area of the foot and thus relieves tension on the muscles of the feet whilst walking, running or standing.
Thank you for a great post
Nice post. Thanks for sharing....
i disagress with many of the comments. So is this factual or your opinion?
I really like p90x and this blog has a lot of great ideas for my own personal site, thank you!
Awesome post! I'm going to add your RSS feed!
Macht Spaß hier zu lesen - freue mich auf weitere Artikel!
Excellent job.
simply
Thanks a lot! That was very informational, I just saved your website url.
Hi, Thanks for the Informative post, I dont usually leave remarks but your article inspired me!! I love any articles about psp. I will link this post for my site if thats okay!
Good job! What an amazing website. Sincerely.
Hey, this is my first comment on ur site. I've been reading it for a while in my RSS reader but haven't commented before. :) Anyways, thanks for the post.
need advice for hot hits? check it out http://ezinearticles.com/?Top-10-Songs-That-Ought-to-Be-on-Your-Playlist&id=4400980
It's an interesting post, I'm looking forward to read your next updates now!
Can't wait to see your next post, I bet it will be even better then this one!
My friends and I very much adore facebook's new "like" feature. Want to be able to "like" anything you want? Check out this site, it does exactly that: www.fbliker.net
Hi, i just thought i'd post and let you know your blogs layout is really messed up on the K-Melon
I've been searching the Internet for exactly what you've posted.
Hi, Who would have thought, helpfull and thank you
Hello, I am very impressed by your blogging competencies. I have a blog myself.
Criticism can really enhance your self. it's normal to be sad when you are criticized. as they say you cant please everybody.
I've been into blogging for quite some time and this is definitely a effective and well written post. I signed up for your newsletter and shared it with my other blogger friends, so please keep up the informative posts!
Good luck on your blog, and feel free to comment and subscribe to my blog as well when you get a chance: Make Money Online with Dino Vedo.
Thanks so much, and lets stay connected and maybe share some ideas, do some guest posts, and get us both some more traffic and backlinks!
All the best,
Dino Vedo
Howdy, I am very impressed by your blogging competencies. I am a blogger myself.
see watch on the movement and you don't know
Good post, thanks
Well I acquiesce in but I think the brief should prepare more info then it has. New from Danny | Thermal Scope
You gave fantastic honest ideas here. I performed a research on the issue and discovered almost all peoples will agree with your Cartucce blog. How can I subscribe to RSS?
More top 15 lists? haha
Great site and nice text.
I think this is an important topic.
Terrence Stenson
hm, understand:)
Wilfredo Voita
really i thought that
How instructive it is! I didn't bookmark your site for nothing. Good luck for the future. Regards.
Tammera Daylong
I found your blog via Google and found it indoctrinating and somewhat entertaining. Will you be updating it soon?
I tried to subscribe to your rss feed, but had a problem adding it to google reader. Could you please check this out.
Hey, I'm having a problem viewing your site in my browser. Could you please check this. My browser is Opera 7 btw.
It is excellent to have the opportunity to read a good quality article with useful information on topics that a lot are interested on. The point that the data pointed are all first hand on real experiences even helps more. Keep doing what you do as we enjoy visiting your blog.
Great site and nice text.
Armin's absolutely ahead of his class, I actually was at the netherlands world cup game with him and his VP of marketing a few weeks ago. He is an amazing music producer, and DJ.
Keep working ,great job!
Have you heard the new Digweed Track . It was released a few Days ago. Have a listen to it on Trackitdown. Why cant more Artists bring out Singles like that
Have you heard the new Giueseppi Ottavani Single . It was released a few Weeks ago. Have a listen to it on youtube. Why cant more People bring out CDs like that
Have you heard the new Arctic Moon CD . It was released a few Weeks ago. Have a listen to it on the Radio. Why cant more DJs bring out LPs like that
Thank you for blogging this post. It is such an awesome post.
Armin's simply tops of the class, I was at the dutch world cup game with him and his record label manager a few nights ago. He is an amazing music producer, and person.
I seem to be having a hard time , subscribing to your RSS feed. It comes up with error 302. Let me know if its a known error or if its just me . Ive tried opera and firefox. Im using Norton Firewall and im not sure how to turn it off . Im not that good with Netbooks. Ill revisit your site and see if you have responded. bye now
I'm really to be finally posting online after all these years. There really is no mystique (sp) about it, is there? I just dropped by your blog and had to write. I'm a recent college grad, journalism major if you must know, and I absolutely love photography. I've got my site up but it's nothing to boast about yet. None of my stuff's been posted. Soon as I figure out how to do that, I'll spend the afternoon posting my best pictures. anyhow just thought I'd drop a line. I hope to return with more substantial stuff, stuff you can actually use. SPG
Hi I found a site and looking for something different and think this is profound in terms of info
Pretty impressive post. I just stumbled upon your site and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be coming back and I hope you post again soon.
Being a novice blogger personally, without a doubt exciting you just read a respectable blogger for something new. I hope to master so much from checking many others weblogs and Personally i think that your own has a great deal to offer the site reader, thanks a lot for spending some time and making the effort. Daisy
I very much liked reading your website. Great content. Please continue posting such excellent content. Thanks.
wow, that is without a doubt amazingly thourough. combined with helpful now that im done. thanks. although Now have written would undoubtedly like to know obviously if there's anything more revealed subsequently, after the public maintain collected(recorded) 100% regarding the actual memory (including ones additional/ribonucleic)and simply, so long as so, what does that change by the ending presumably gameplay? (incase anything) and as well how most secure without doubt wonder should individuals guys know on that point will be a triligy?
Follow you dont have to reinvent the wheel
Quite useful information shared..Iam extremely content to by means of this post..many thanks for giving us great information.Excellent walk-through. I love this content.
Going to see Richie Hawtin Tonight. Its gonna be a night to remember. There playing with Marco V. Then next week ill be seeing John O’Callaghan. amazing nights ahead
You gave great ideas here. I conducted a research on the topic and found almost all articles are compatible with your blog.
Nice one - added to my reader
Bless you regarding taking the time to discuss this, I really feel strongly about this and really enjoy learning more on this subject. If doable, when you gain expertise, would you mind updating your weblog with additional facts? It can be very helpful.
Hello...from the beggining I have to say I didn't had a good read from a extended time.Truly glad i discovered it on bing.I was speaking with my colleagues two days ago around this matter and I have to say you make things very clear for me.Thanks and good luck
Quite beneficial facts shared..Iam really happy to study this write-up..thank you for giving us great tips.Wonderful walk-through. I enjoy this article.
Heard any good gaming jokes lately? this one's not really just about games but how does a geek rob a bank?
noclip
This is exactly what I was looking for! Thanks!
This is exactly what I was looking for! Thanks!
Great post!
LMAO
Electronics are the greatest things in the world. Be sure to patent any product idea or invention you come up with. So that noone copies any of your ideas. How To Patent An Idea
The Avengers Was my favorite comic book ever. Most people would agree, What do you guys think yours was?
Over de voor- en nadelen van het afsluiten van een lening zonder BKR-toetsing.
Migraine is hoofdpijn die in aanvallen komt. De hoofdpijn komt plotseling op, soms midden in de nacht zodat u er wakker van wordt. De pijn zit meestal aan
I saw something similar to this on another site and didn't quite get it, but this article makes it clearer to me now. Thanks!
Heya, really a useful blog. I think it is really a great topic to write about on my Blog. Also here is some nice information: Xbox 360 3 Red Lights Fix
Super text, I will add this blog to my favorites.
Hello, really a fine blog. I think it is really a great topic to write about on my Website. Also here is some awesome information: Xbox 360 3 Red Lights Fix
I was looking out for information about this on Bing and discovered your article. I found it to be very interesting. Thanks
I have searched all over google for info on this topic, I finally found a good post, looking forward to coming back!
Thanks a lot for your feedback – there’s nothing more beautiful for us. All the better if it’s blogged so nicely – thanks, Mr. Stylewalker!
Can I quote you in my report for school?
Wow this takes me back. Nice blog.
That is a very interesting post, Patents are needed for all new technology. If you come up with something be sure to get a patent on it or you may just have your technology copied.The Visto Philosophy mimics The Real Networks Philosophy... "When you can't sell your products on your own, just sue anyone else that does the job better."Getting A Patent Thanks
It can be good to undoubtedly dig up a web site where the blogger is well-informed. Thanks for creating your web site.
Wonderful to read!
I usually read the content on sites previous to I leave a review. If I have not much to say about the content topic, I probably will not leave any remarks. And I favor to read someone else’s reviews on that post too. Because I can also find practical ideas among the suitable comments. I would have posted “Nice blog! Notable posts!” then I could be spamming your blog. I too have a journal, first thing I'd do every day after i signed up on my blogs is see remarks to my threads and by hand approve or reject these opinions. Keywordluv not just brings you more commenters. It enhances your position in search engines because you’re not only on immeasurable “dofollow blog lists” but in addition on a quite a few those “keywordluv lists”. Thanks, Jenny
I've never read an organized article like this one before, sentences are very good and ordered so well, thanks author for this exertion.
Apple now has Rhapsody as an app, which is a great start, but it is currently hampered by the inability to store locally on your iPod, and has a dismal 64kbps bit rate. If this changes, then it will somewhat negate this advantage for the Zune, but the 10 songs per month will still be a big plus in Zune Pass' favor.
I need to assert, that in all the time I've spent using the web, searching aticles, I have not read one as concise and well written as this one, I do not normally comment on posts yet in your case I felt the need to make an exception, this is certainly really fine quality work and literally opposite to the drivel, which i spend lots of my time on the web, reading. Thank you with regard to finding the time and investing the effort to supply your readers with a first class article. I count on reading a great deal more of your work, yet again many thanks. Deborah
Great post I must say.. Simple but yet interesting and engaging.. Keep up the awesome work!
2010 days good intentions of the leisure shoes picture warmer weather, and the spring season has finally arrived. Major brands are competing to OTC spring section, and shoes are no exception. This spring, so as your flowers bloom like sweet, then a pair of feet, shoes, natural essential for the United States. Today, we bring the good intentions of Teenmix day section spring 2010 shoes, and go and see her, as always, lovely ...