A lot has been said about The Zone - that magical place where doing something you love becomes instantly self-rewarding and you pull yourself along until you emerge on the other end. Slightly confused, a bit shaggy and you wonder why on earth are you hungry.
In fact, a couple of hours passed since you started working. You didn't notice. The code is beyond any level you think yourself capable of achieving and when you try to understand how it works ... it doesn't really make sense. But it works, passes all the tests, is beautiful and elegant. Feeding yourself might be a good idea as well.
The Zone happened to me a lot more when I was younger. There's something about being 12 years old and creating what you believe to be an operating system that destroys any and all distractions. They simply don't exist. In those days a comet could have landed on my head and although dead, I wouldn't have been distracted.
Now I have the internet, a bunch of stuff on my mind and nobody to remind me I should eat and sleep - getting in The Zone is harder. And when I was little I thought two weeks of coding was a sprint, now anything more than a single night feels like a marathon ... because I get more done, I think.
For the past couple of months I've done a lot to figure out how I can get in The Zone better and I think music is a big part of it. Choosing just the perfect music for the perfect time is hard, but doable.
Another important bit is that when I find it very very difficult to focus, I must go somewhere where there are a lot of distractions. Counter-intuitive, I know, but it works. I either blast three songs at once, or go to a coffee shop.
Coffee shops are awesome. Something about everyone walking around, having conversations, music blasting out of the speakers and a nice cup of tea combined with a comfy chair really works wonders for my concentration. Maybe because my brain is so taxed that it simply has to focus just to function?
The interesting bit is that my taste of music when coding changes a lot more than normally. It's also very different from the music I usually listen to in that same day.
Lately my favourite has been Mozart and, of all things, Tchaikovsky ... how the Nutcracker makes for good coding music is incomprehensible, but there you go, it does. Beethoven is also a good choice, especially the more dramatic pumping symphonies.
At other times I prefer something witha bit more bass. Skrillex has worked particularly well for a while, then there's a Tetris remix playlist I made on Spotify that does wonders for my productivity. About a hundred versions of the same freaking song and it's just awesome.
All things considered, the only thing that really matters for getting in the zone is that my environment not be silent and distraction free. My brain simply can't handle that ...
What kind of music do you listen to when working? Spotify gives me this unlimited jukebox, but I need to know what to look for.
Continue reading about Music and The Zone
Semantically similar articles hand-picked by GPT-4
- A work ritual that keeps me sane
- Project soundtracks - how I killed procrastination
- The 10x programmer in you
- Why programmers work at night
- Stop being so fucking productive
Learned something new?
Read more Software Engineering Lessons from Production
I write articles with real insight into the career and skills of a modern software engineer. "Raw and honest from the heart!" as one reader described them. Fueled by lessons learned over 20 years of building production code for side-projects, small businesses, and hyper growth startups. Both successful and not.
Subscribe below ๐
Software Engineering Lessons from Production
Join Swizec's Newsletter and get insightful emails ๐ on mindsets, tactics, and technical skills for your career. Real lessons from building production software. No bullshit.
"Man, love your simple writing! Yours is the only newsletter I open and only blog that I give a fuck to read & scroll till the end. And wow always take away lessons with me. Inspiring! And very relatable. ๐"
Have a burning question that you think I can answer? Hit me up on twitter and I'll do my best.
Who am I and who do I help? I'm Swizec Teller and I turn coders into engineers with "Raw and honest from the heart!" writing. No bullshit. Real insights into the career and skills of a modern software engineer.
Want to become a true senior engineer? Take ownership, have autonomy, and be a force multiplier on your team. The Senior Engineer Mindset ebook can help ๐ swizec.com/senior-mindset. These are the shifts in mindset that unlocked my career.
Curious about Serverless and the modern backend? Check out Serverless Handbook, for frontend engineers ๐ ServerlessHandbook.dev
Want to Stop copy pasting D3 examples and create data visualizations of your own? Learn how to build scalable dataviz React components your whole team can understand with React for Data Visualization
Want to get my best emails on JavaScript, React, Serverless, Fullstack Web, or Indie Hacking? Check out swizec.com/collections
Did someone amazing share this letter with you? Wonderful! You can sign up for my weekly letters for software engineers on their path to greatness, here: swizec.com/blog
Want to brush up on your modern JavaScript syntax? Check out my interactive cheatsheet: es6cheatsheet.com
By the way, just in case no one has told you it yet today: I love and appreciate you for who you are โค๏ธ