
How to code when head not clear
I guess the title clears it. I just sat for 4 hours in front of the screen doing.....nothing. How to work ?
I know excercise, write journal etc. all that self help stuff...i do it....still unable to work.

Try
- Clear desk.
- Pick one task. Break down your task into small steps
- Set the mood [music, coffee, etc]
- TAKE AN IMPERFECT ACTION. JUST START. 5 minutes. Repeat 🔁
If no results Shift your working space to somewhere else. Different room, outdoors, anywhere else. And repeat the same steps.

Point 4 is spot-on

Point 4 helped. Thanks mam

Get help from chatgpt and code what you cannot

It actually doesn't help much...at least to me..

Chat gpt gives a very neat looking code which, for sure, doesn't run 🙃

Sometimes it happens, i don't code when my head is not clear. I go for a walk, play video games, etc just to completely distract myself and then bring myself back to code, most of the times it works well to clear the head

This works for me as well

Work from office mein nahi kar paata

Play god of war and then code

I sound like a annoying uncle but don't want to look at a screen when not working.

Atleast in my case mate games tend to assist me. But try going for a walk too.

Clean your room

Slap yourself and man up. Gotta pay the bills and gotta work. Just start by solving the smallest thing. Stub out a function. Stub out an API call or create that deployment yml. Little steps.

Thanks...needed this..

All that you mentioned, that helps me sometimes. And on other days, relaxing is the only thing that has helped.

:)

Love the username
Game recognizes game 🫡

Clear your head then code
