I don't think it has to do with sound. Some sounds can disrupt it, of course. I can work well in a noisy cafe as long as I'm not listening to any particular conversation. Although oftentimes, if I'm alone, I talk to myself out loud while I'm coding ("no, not that, it should go here... where's that header? stupid typo...")
We used to call it "seeing through the code". The moment when you're no longer looking at text on a page, you're seeing what it does as you scroll through it.
What you need most, to get to that place, is to simply spend a lot of time writing and reading code until it becomes second nature. Something like 10,000 hours.
Once you've done that, reading an LLM's code is trivial. But letting it write most of the code, without reviewing it line by line, causes rapid brain atrophy. Because to really be in the zone, you need to keep everything relevant in your head. Which means it has to be in there in the first place.
That makes sense. I wonder how much the sound itself matters versus it simply becoming part of the ritual that tells your brain "now we’re working"
I used to listen to classical music, rap or hip hop, but lately I’ve moved toward those long focus playlists on YouTube and things like Brain.fm. They seem to help me, so I was curious whether other people deliberately use something to get into that state or whether it just happens through the work itself.
You don’t need to use anything. You just need to enjoy what you are doing. This is often related to dopamine. Being in flow state for hours on end while programming is bliss and fun for me.
If you don’t enjoy programming keep trying, have the language or api docs open and do not use generative AI. Generative AI just gets you outcomes. An artist paints because they like painting, not because they like a pile of painted pictures.
I’m not a programmer, life choices took me in another direction, but I’m starting to understand the addictive part of building things and immediately seeing them come to life.
With AI coding it suddenly feels like there are so many possibilities. My biggest problem now is almost the opposite: trying not to chase every idea and keeping myself focused on building one thing. There’s definitely a dopamine hit in seeing visible progress regularly :)
the flow state isn't something that is triggered by music. It can help maybe, but it's not a pre-requisite.
It's something common to a lot of creative fields, that moment where u enter a sort of hyper-focused state where the line between you and the code blurs and you operate at peak efficiency.
It quite literally feels like overclocking your brain. I miss it a lot.