DEV Community

Discussion on: How do you code when you are depressed?

Collapse
 
michael profile image
Michael Lee 🍕

Try going for a walk.

Coding is problem solving.

I often get epiphanies or breakthroughs while doing other things.

You could look at the work ahead of you and tell yourself you'll focus on this problem on my next walk.

Then while you're enjoying the outdoors, focus on solving the problem.

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

Then while you're enjoying the outdoors, focus on solving the problem.

Or just focus on the outdoors. The solution will either come on its own, or it won't.

Collapse
 
michael profile image
Michael Lee 🍕

Great point @darkwiiplayer !