How do you find the best way to focus on a coding project / job?

In short, when you planned or thought about the idea of ​​creation - what do you use to help you get things done or to make sure that you remain programming without (negative) distraction?

I found that reading books and getting to know like-minded people helps in motivation, although when the time comes when you type the keyboard again, it’s very easy to lose tracking websites that are not connected.

Can someone recommend thinking or approach you to maximize productivity?

+4
source share
5 answers

I usually start by killing my internet connection, otherwise I know that it will only be a matter of time before I surf on completely unrelated pages. In addition, I usually plan my time before starting work and do not forget to turn on the frequent short brakes (for example, work 45 minutes, a break of 15 minutes, work 30 minutes, a 5-minute break, etc.). Thus, if I am hungry, I need to wait for the next break before eating anything, which will help me focus only because I do not know what to think about food before the break. And if you manage to get into the consciousness "if I do it now, I won’t need to do it later", it will always be a good place.

Finally, a bunch of coffee and a comfortable working position (lying on the couch with a computer on my stomach is not a good place to work) are probably my best tips.

Good luck with your motivation!

+4
source

I believe that this is really only how much your will is ready to accept you. At least for personal projects. If you code without any motivation and want to exit, most likely you will not be able to concentrate, and your code will be terrible.

I find that defining a TODO list and giving me personal terms to implement certain things is discouraging me. The thing is that I'm interested. As you already mentioned, communicating with like-minded people about your project and seeing their enthusiasm can really make you go. Leaving aside a certain time, just to sit on the right and the code, the time of day, when distractions are minimal, and you have time to think and relax, can really improve productivity. As for keeping your head in the game, the only way to do this is to really make sure that distractions are limited. For example, deviations like Stackoverflow;). If you are on a computer and you are tired of coding, it is difficult for you to stop your mind from searching for other things. Communication with MSN and answers to Stackoverflow questions cannot coexist with coding!

+1
source

For me, it helps to write a to-do list and keep it up to date as I proceed. eg,
1- write unit tests for class X.
2- write class X.
/ *
when writing class X, I come across brickwork. Before turning to all powerful Google for help, I add one more element
* /
3-learn how to implement the function Y.

and just cross out the elements as soon as I finish with them, and try to write down how much time it took me for reference in the future.

+1
source
+1
source
  • Make time for emails in the morning and evening.
  • Turn off all pop-ups and reminders (email notifications).
  • Get a cup of coffee
  • Insert earphones or put on earphones.
  • Launch the music.
  • Take a 2 minute break every hour
  • Stop for lunch.
  • Rinse and repeat.
+1
source

All Articles