DEV Community

Discussion on: How do you limit or avoid procrastination?

Collapse
 
epolanski profile image
Enrico Polanski • Edited

Deleted all social medias but IG and Twitter (which I seldom watch anyway and I just follow devs). This was good for my life as well.

I use an app that tracks what I do on my PC it's called rescue time. I aim at 5+ hours of productivity per day (which means having vs code, docs or localhost in focus on my screen). I start the day trying to get as close to the 5.5 hours target ASAP, which means that if I'm good by the time it's 3 PM I already did the overwhelming majority at that point I start being more relaxed, I try to focus more on learning, I distract, I try to code with colleagues and help them solve problems. Or I do code reviews of the merge requests we have. I start being very critical and try to find stuff that could be written better.

That gives me good insights on our codebase and gives me countless opportunities for learning new approaches.

If it is for my own projects it's harder. I generally wake up extremely early (6 am), make coffee and get straight into working. By the time it's 9 I worked 3 hours which for my own projects is not bad.

After all coding all week depletes lots of my energies already so if it's 10 am and I don't want to code anymore I just launch league of legends or go out or spend time with people and family and who cares. Being fresh makes you more prodictive.

Another tip that I have is to favor quantity over quality when writing code. We waste just too much time writing clean code that we get to a solution too late to really understand it and polish it. Jm2c anyway