DEV Community

Discussion on: Want to be a better developer? Take care of your sleep!

Collapse
 
spqrbob profile image
Bob McCann • Edited

Damien,

Your article resonated with me and my struggles with sleep. I struggle daily with physical fatigue, poor mental focus and concentration, and difficulties with memory. My sleep hygiene is terrible. I stay up far too late, and then when I do come to bed, the first thing I do when I get under the covers is grab my cell phone and browse Reddit for 30 to 60 minutes. I have a CPAP machine, but I only use it about half the time, and my wife usually is watching TV when I am trying to go to sleep. It is a wonder if I get any sleep at all.

At work, I am tired, and my thoughts are scattered. I have trouble staying focused on a task until it is completed, and at the end of the day, I am often left wondering what exactly did I accomplish today? I also go the school part-time with classes in the morning. By the time I leave work, stop by the store, finally get home and have dinner, I am so exhausted that any homework I have been assigned seems like too much to deal with. My grades have suffered.

I have thought all of this was signs of getting older, and perhaps the result of some medical issue causing my chronic fatigue. We have done sleep studies and I have tried medications, I have the aforementioned CPAP machine, and none of it helps me. On the positive side, I quit drinking carbonated beverages several months ago, and the only caffeine I normally take is in the form of pills, which I take in the mornings and early afternoon. What I haven't done yet is all of the other things you talk about in your essay.

I am going to try to do what you have suggested in this article for the next 30 days: I will endeavor to get to bed earlier and rise earlier as well. I am not going to ask my wife to not watch TV at night, but I do have earplugs and a sleep mask to keep out the noise and light. The only thing I will use my cellphone for in bed will be to make sure my alarm is set for the proper time for the following morning. I will be loyal to my CPAP, and use it faithfully every night. I will endeavor to use my newfound energy in the morning hours to begin a program of light exercise, such as walking with my wife. I might even start a more strenuous exercise routine later in the day in the gym at my workplace. I may or may not be able to go forward with the magnesium cream and houseplants at the outset, but may be able to later.

Let's see how my 30-day experiment goes! Perhaps I will make a profound discovery that will allow me to regenerate myself and find a well of energy, focus, and concentration that I never thought possible anymore. Maybe I'll just get some good sleep. Whatever the outcome, I know what you suggest is far healthier than my current sleep behavior. Wish me luck!

Collapse
 
damcosset profile image
Damien Cosset

Good luck my friend 💪

Collapse
 
smartcodinghub profile image
Oscar

Don't forget to do an update with your results and thought. I have the same problem. Good luck!