DEV Community

Discussion on: How to struggle with debugging before sleeping?

Collapse
 
jake profile image
Jake Casto

Dude I was in the exact same place you are. I work 15 ~ 16 hour days (home office) so I'm programming right before I go to sleep. Working at night became a powerful asset to me, I was able to think clearly while trying to fall asleep and find and fix bugs without being on my PC. It turned into a habit that killed my sleep (was getting 4 hours of sleep a night, it was awful).

Try to think about that before you go to bed, take a long shower before you go to bed and get all the thinking done then, and you can jot down notes when you get out over getting out of bed to take notes.

I tried taking notes while in bed & it got me nowhere, I ended up stressing about the notes... "What if they aren't accurate, What if this breaks the application?".

Collapse
 
dedeswim profile image
Edoardo Debenedetti • Edited

Thanks for the answer! 😊
Actually taking notes would 100% stress me 😂
I'll to come to a sort of end of chapter before going to bed, so that I don't have so much to think of.
The problem is that the app is still in a very early stage, and it's really difficult to find a sort of end of chapter 😂