DEV Community


Discussion on: What are your sleep hacks? How do you handle a tough day and fall asleep immediately after lying down?

derickhess profile image
Derick Hess

If i have code on my mind and thinking about a problem, I can't fall asleep immediately so I force my mind to switch things up by grabbing some fiction book and reading for a while. This usually engages my brain in the story and I can relax enough to fall asleep

perigk profile image
Periklis Gkolias Author

I believe fiction books used to work for me. Maybe one mistake I make is that I read actual stimulating stuff before bed (I was reading about queue architectures for example last night). I should start again maybe