26 ms·
It's easy to lose focus while coding and quite natural too. I usually follow these methods while coding: 1. Write down the goal for that day that I need to acc
by xackpot 13y ago
It's easy to lose focus while coding and quite natural too. I usually follow these methods while coding:
1. Write down the goal for that day that I need to accomplish before I start coding.
2. Break down the goal into mini goals.
3. Take a 5 min break after each mini goal is met. I usually just get up and look out through the window or do some light physical activity.
4. Before starting for the next mini-goal coding, I sit down and think how I am going to code.
5. Start coding while keeping the goal of the day on the top of my mind.
Personally, instead of coding, I believe that I am writing a poetry and unless I get the lines correct, I won't be able to write a beautiful verse.
There; I don't have to worry about focus.
I am 36.