1. 程式人生 > >4 Simple Steps to More Productive Coding Sessions

4 Simple Steps to More Productive Coding Sessions

2. Kick out the distractions with some chill beats

This has got to be the №1 factor in me getting stuff done. Doesn’t matter whether you’re working in an office or alone at your home, distractions are everywhere.

Sometimes it’s your phone buzzing and other times it’s someone dropping by your desk to say “Hi

”.

These are the kind of distractions that pulls you out of your flow. Once that’s lost, it’s hard to get back into the context and the deep state of mind you were already in.

“If you service low-impact activities, therefore, you’re taking away time you could be spending on higher-impact activities. It’s a zero-sum game.”

When you say yes to activities of low impact such as checking your Facebook notification or engaging in a water cooler talk, you’re missing out the time to engage yourself in activities that improve you and help you progress in your career.

Coding requires attention. Coding demands a deep state of mind. A distracted mind will rob you of your ability to make the most out of your coding sessions.

Now, the question is how can you avoid these petty distractions in a world full of distractions.

The simplest answer to that can be to:

  • Put on a pair of headphones
  • Play some good music
  • Resist the urge to respond to whatever’s going on around you

A common term for this kind of activity is “being wired in”.

I love being wired in. That’s how I get most of my work done. When I’m wired in, people around me have a hard time getting my attention.

I remember once someone from my team sent me messages on all channels, Slack, Hangouts, SMS, Email and what not and then still had to physically wave their hand in front of me to grab my attention.

That is the kind of focus I’m talking about here.

Listening to music isn’t a requirement here. It helps to isolate yourself in a very noisy environment. However, if you’re cool with not putting on a pair of headphones and achieving the kind of focus I’m talking about, then sure, don’t.

Just do whatever you need to develop a deep state of mind when you’re working. This is the time when you do all sorts of magic and create wonderful stuff.