DEV Community

Cover image for 3 Healthy Habits for Programmers

3 Healthy Habits for Programmers

Patrick God on January 20, 2018

New Year’s is over, your everyday life is back again, but what about your resolutions? Still working on them? Here are some habits that are more or...
Collapse
 
shane325 profile image
Shane Barry

Great post. I would also add meditation to the list.

Collapse
 
nancyd profile image
Nancy Deschenes

I totally agree. The word "meditation" may scare some. It's meditation, prayer, or anything that can soothe your soul. For some, it can even be coloring, woodworking, or knitting.

Collapse
 
_patrickgod profile image
Patrick God

Absolutely!

Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y

Tip, recording streams at midnight are not good for sleeping habits.

But I'll continue to drink water on-screen to set a good example.

:)

Collapse
 
codemouse92 profile image
Jason C. McDonald

I have a bedtime of 10pm, and a wake time of 6am, which always gets me started on the right foot! I do highly recommend the early waking: it gives an opportunity to enjoy the slower-pace quiet of the morning, get in some personal time, a good breakfast, and maybe even go for a walk/jog before work.

Collapse
 
yokim profile image
Yokim Pillay

Yes! My work day starts at 6:30am, but I like to go to sleep at around 9pm-ish, then wake up at 4am. I feel so much better when I know I've got the upper hand on a day! Getting up early is such a vital tool, provided you're getting the right amount of sleep for optimal functioning.

Collapse
 
_patrickgod profile image
Patrick God

So true. Getting up early and having some kind of morning routine always boosts your mood and productivity for the whole day, provided you also go to bed early.

Collapse
 
nickreynke profile image
Nick • Edited

Totally agree with that. Do your thing in the morning and the rest of the day you feel productive because you already have done something.

Edit: Ever heard of "Miracle Morning"? :)

Collapse
 
sebastiannielsen profile image
Sebastian-Nielsen • Edited

I recommend you keep a small bottle at your desk instead, this way you'll force yourself to get up more often to refill the bottle, and at the same time stay hydrated as well as getting a little exercise. 👍

Collapse
 
nancyd profile image
Nancy Deschenes

If you drink a whole gallon, you shouldn't have to worry about getting up often :)

Thread Thread
 
sebastiannielsen profile image
Sebastian-Nielsen

Haven't you heard about the negative effects of sitting for too long, it's important to get up and move every half hour or so.

Thread Thread
 
nancyd profile image
Nancy Deschenes

My point was that if you drink that much, you will need to get up pretty often.

Collapse
 
thejohnstew profile image
John Stewart

All good points. In regards to sleep, falling asleep and waking up at the right times is pretty important as well.

Check out sleepyti.me/! It will help you figure out those times based on the number of hours of sleep you want to get.

The main thing is you want to wake up in between sleep cycles not during one.

Collapse
 
petarprok profile image
Petar Prokopenko

Nice article. I have similar habits. I drink a lot of water through the day, while my colleagues are drinking a lot of Coca cola. I tried to talk with them to drink less but no success. After my work day I tried to take about 1 -2 hours to just walk. It's so relaxing, refreshing and it helps clear my mind...

Collapse
 
jfrankcarr profile image
Frank Carr

My advice is watch the carbs, especially those high in refined sugars. It's pretty easy to chow down on doughnuts and pastries, pizza, snack foods and so forth and guzzle down gallons of sweetened soft drinks. Sooner or later, you will probably start tipping the scales at an unhealthy weight. Add in lack of exercise and you'll get there even quicker.

Collapse
 
nancyd profile image
Nancy Deschenes • Edited

Don't replace sweetened drinks with diet drinks, that's about just as bad.

EAT YOUR VEGETABLES! (even if some are a bit carby - your squash and beets are much better than your donuts and pretzels)

Collapse
 
buinauskas profile image
Evaldas Buinauskas

Listen to this guy. Gym or regular exercising is important but having a balanced diet is crucial(diet isn't starving) to your health.

Eath carbs that are slowly digested in the morning, avoid added sugar and try to eat some fruits (just a few during the day), eat healthy fat such as peanuts, avocado, olive oil and in the evening try to eat food that has protein in it.

Collapse
 
cotcotcoder profile image
JeffD

A scientist affirmed that creativity comes from our long (7hours) night (the dreaming part) and reduce our sleep can reduce our creativity. I'm not sure about it but you can find some study about the subject.

Collapse
 
abintuttu_60 profile image
abintuttu_60 • Edited

d

Collapse
 
buinauskas profile image
Evaldas Buinauskas

Get yourself a dog to cure loneliness and you'll have regular exercise by walking your pup throughout the whole day.

Collapse
 
rudistapelfeldt profile image
Rudi Stapelfeldt

I'm a Bodybuilder, so for me, this comes along with enough sleep, exercise (a lot), good food, enough water. Healthy body, healthy mind, right

Collapse
 
srebella profile image
Santiago Rebella

daily exercise (30 min to 1h, can be workout at gym, going for a run) and meditation works for me(I user Headspace App, really good for clearing mind)

Collapse
 
marcelmcz profile image
Marcel Ramon

When I started to exercise, having good sleep, eating healthier food and drink more water came in such a natural way. You're totally right

Collapse
 
austinstanding profile image
Austin Standing

Great habits to have!

Collapse
 
ayooladaniel profile image
Ayoola Daniel

Thanks for this Mr. Patrick. I'll really love to try these out. Thanks a bunch, bunches!

Collapse
 
_patrickgod profile image
Patrick God

You're very welcome. I'm curious if they will work for you! :)

Collapse
 
satansly profile image
Omar Hussain

Nights are for sleeping and day is working. Naps are good.