r/cscareerquestions • • Apr 07 '17
Senior software developers, has CS been detrimental to your health?
[deleted] — view deleted post
262
Upvotes
r/cscareerquestions • • Apr 07 '17
[deleted] — view deleted post
553
u/which_spartacus Hiring Manager Apr 07 '17
Problem #1: Every "cool kids" workplace now has unlimited snacks and drinks. Don't eat anything from a snack-place. Not even a simple handful of M&Ms as you walk by.
Problem #2: Saying you are going to workout after work is usually an instant fail. Meetings run late. You're hungry. Somebody wants to go out. You have a wife/kid at home and should do something with them, etc. Instead, always work out before work.
Problem #3: You believe that you don't have enough hours in the day to complete your work. News flash: you're right. So don't. If you work for 8-10 hours in a day and stop, the work will still be there the next day. Go home. Take a break. Get some sleep.
Problem #4: Weekends are a great time to catch up on that work you didn't finish during the week. You know what else is a great time to finish up on the work you didn't get done during the week? The next week. If you work 7 days a week, employers will be very grateful. They will abuse your home-life as much as they can.
11
u/IgnorantPlatypus "old" person Apr 07 '17
A month after I moved to Seattle, I had terrible headaches almost daily. I wondered if it was something in the new building I was working at -- the lighting? Chemicals in the carpet? It went away after another month, so I forgot about it. Until next year, when it came back at the beginning of November. I took advil almost every day. Then it went away and I forgot about it again. When it happened the third year in November I finally figured out it was just seasonal allergies causing a sinus headache.
Some of your problems may be related to sitting all day, not specifically the computer. And almost all jobs nowadays have you sitting in an office environment. IOP is just as likely genetics as something else -- I had one eye get a piece of iris pigment stuck at the tube that lets fluid drain, but after a few years it seems to have resolved itself on its own. I still go to the optometrist yearly to make sure all is well, but that's just part of adulting.
92
u/NiceOneAsshole Software Engineer Apr 07 '17
At work, [try the Pomodoro technique] (https://en.wikipedia.org/wiki/Pomodoro_Technique), take short walks, get up and stretch.
It's a career that can easily lead to horrible health, but if you manage yourself well, you can stay on top of any risks.
4
u/[deleted] Apr 07 '17 edited Apr 07 '17
I have bad RSI on my right shoulder and down my right arm. I hypothesize that it's related to trackpad usage. My favorite time at work is usually spent pairing where I don't have to use the keyboard. It's quite fustrating because I want to work on my personal projects after work hours, but those hours are now mostly spent resolving the issues of pain.
I'm hoping that VR opens up new ways for me to produce software while being mobile and walking around, moving my arms and neck more.
3
u/fried_green_baloney Software Engineer Apr 07 '17
There are specific neck stretches that can help.
I won't recommend any because what works for me may not work for you.
See a chiropractor (if you can find a good one) or an MD orthopedist.
73
u/Shajam_ Apr 07 '17
I don't consider myself a senior dev yet but the sedentary lifestyle which I lead contributed to my poor circulation in my fingers (Raynaud's phenomenon) and migraines.
I'm always endorsing the Pomodoro technique that asshole who commented recommends, alongside hand stretches. When I was in my 20's I was naive enough to think that "these things happen to other people and it's not likely to happen to me".
Either exercises at the gym, get a bike to go to work or at least walk casually for 20 minutes each day.
73
u/bobbybottombracket Apr 07 '17
10 year software dev. I started powerlifting. Posture, low back pain all fixed in about 6months.
56
u/[deleted] Apr 07 '17
As a senior dev, I go home at 5 PM even if something is on fire. I make time every day for the gym. They will work you until you drop unless YOU draw the line. A standing desk might help too.
26
u/ahtu1 Apr 07 '17
For the neck/back/general health stuff really the best thing is to get a gym membership and do some cardio and free weights that work your whole body. 10/10 would recommend. I see a lot of the really dedicated (careerquestions) type do it at work these days too.
13
u/brobi-wan-kendoebi Apr 07 '17
I'm your age and developed serious back problems a year ago. I also woke up with daily headaches or developed them throughout the day. I went to a really good physical therapist and it was the best decision I ever made. This is totally anecdotal, but my entire posture was fucked up, as well as how I had my monitors and keyboard setup. My pain is super manageable now, almost gone, due to daily strengthening exercises and posture/lifestyle changes (getting up every 30 min/hour, etc).
If you truly are having physical symptoms then it's probably covered under your insurance to get PT. You might need a PCP referral first but still.
9
u/e7hz3r0 Apr 07 '17
I've never had symptoms like you, but I've been lifting weights and doing cardio since around the time I started working professionally.
That said, I did find that if I didn't lift for a few months my wrists would start to hurt.
I also endorse the Pomodoro technique. 2-3 short walks everyday help a lot, both physically and mentally.
The other thing is, stand up. You don't have to stand up all day, but a mix of standing and sitting helped my back feel a lot better. When I started standing, my company wouldn't buy me a standing desk so I bought 4 cinder blocks for $12 and put my desk up myself. A drafting chair (which we had around the office) allowed me to sit when I got tired.
When I started working remotely, I did the same thing at home. I even made a portable, adjustable standing desk for when I go to starbucks.
The other thing I did, which you may or may not be able to do, was to get a manual treadmill. I couldn't walk while I was coding, but I could while I was reading.
8
u/AintNobodyGotTime89 Apr 07 '17
Your neck problems could be posture related. Your headaches could come from your neck problems or posture problems, or they could be stress related.
Getting older sucks, so as cliche as it sounds try to eat right and exercise.
25
u/tradetofi Code Monkey Apr 07 '17
As a senior dev (11+ years), I have 0 health related problems. I love programming itself. But but I never work more than 40 hours a week. I do not lose sleep because of job related stuff. Fuck that because I am in the position of fuck you.
I actually just quit a well paying job and took a 3 month sabbatical without any financial pressure. Now I have a few offers lined up and I will just pick the one with the best work/life balance. It is not about money or career advancement anymore.
6
u/ajd187 Lead Software Engineer Apr 07 '17
Start doing something exercise related outside of work.
You're probably making a good living so maybe a Crossfit gym.
Short of that, try running. run 3-4 days a week, before work if you can get up, after if you can't. It'll do amazing things for your health.
6
u/DjangoPony84 Software Engineer | IE | Mother of 2 | 15 YoE Apr 07 '17
Another 30+ dev here with no health issues. I run commute to work 3 days a week and run both days of the weekend as well, I also do a little strength training in the office gym.
Take breaks during the day and keep your weekends clear. Move your body and try not to eat too much crap. Working in tech doesn't have to ruin you.
6
u/antonivs Apr 07 '17
After 30+ years (I'm twice your age), I can confidently say no, it hasn't.
I've twice had health issues that were job-related. One was RSI, which was resolved completely by paying more attention to ergonomics and some exercise. The other was lower back pain, for which I saw a physical therapist. This was again resolved by paying attention to ergonomics, and exercise.
Any desk job - sitting all day - is fundamentally bad for you in various ways. You have to learn to listen to your body, take breaks, exercise, etc. A career is a marathon, not a sprint (agile notwithstanding!) and you have to learn to take care of yourself no matter what job you're doing.
14
u/Zalgo_Doge Software Engineer Apr 07 '17
Just don't eat shitty food. It doesn't matter how much you work out if your diet is shit. End of story.
5
u/guitaronin Apr 07 '17
Yes, it's been hard on my health. It's my second career, which I didn't begin until I was 30. I've developed back, neck, and other joint problems. Constantly battling weight gain. I'm starting to need reading glasses. Difficulty healing from minor sports injuries.
This is obviously partly related to being in my 40s. But I'm outpacing my peers. Until 30 I was the healthiest, fittest guy in my social circle, and by late 30s I was the least so.
Top comment has good advice. I'd also recommend using a treadmill desk if it's at all possible. It has been really helpful for my back and energy levels in a way that regular standing desks were not. You can basically reverse all the problems of being at a desk if you integrate continuous activity into your entire work day.
edit: word
4
u/Xchai Apr 07 '17 edited Apr 07 '17
If you aren't going to the gym regularly, do it now. I used to have lower back pain (from sitting in long commute and in office chair) until I started doing deadlifts on a regular basis.
Think of it as medical treatment for your conditions. You don't have to go super hard and get buff but just get the blood flowing and aim to feel sore the next day. Google a simple workout plan for beginners if needed. Just do everything with proper form or you'll end up injuring yourself.
And get an ergonomic workstation going. Having a chair that bends back and moving screens to eye-level height helped a ton too.
4
u/SituationSoap Apr 07 '17
Some good advice here, some that's really extreme, because people tend to be extreme. Here's what I find works for me:
Eat healthy. This is step #1. This doesn't mean "never eat candy" but it does mean "don't eat more than a handful of candy in an entire day." Every meal (save breakfast, though that's good if you can, too) should have vegetables there, preferably fresh (canned are less good than frozen). Potatoes are not a vegetable, they're a starch. French fries are not a vegetable. It's OK to eat out every once in a while, it's OK to have fast food, but think about what you eat and try not to eat the stuff that's bad for you.
Exercise daily, if possible. You don't need to lift, but you should attempt to get your heart rate up significantly at least 20+ minutes per day. Additionally, avoid sitting for long periods - try to go up and down a flight of stairs every two hours or so, at minimum. If you can't go up and down stairs, take a ten minute walk. The goal here is to get your blood circulating on a regular basis.
Don't work 60-hour weeks. Full stop. This is not only bad for your health, it's bad for your brain. Ideally, find a hobby to fill up some of that time that gets you moving around - don't go home and just code more. Take up soccer or ultimate frisbee or golf or running, if possible.
Beyond that, I would strongly recommend talking with a doctor about the things you're experiencing. They could be related to additional health problems, and if so finding those quickly is better than letting them wait. Be proactive about your health! You're to a point in your life where you can't ignore it any more and there isn't anyone who's going to do it for you. Time to be an adult!
3
u/[deleted] Apr 07 '17
You have to balance it out. I do weight training 3 times a week and jiu jitsu or kickboxing 3-4 days a week. I probably average more than an hour of strenuous exercise a day and I eat a healthy diet, so it doesn't matter much if I spend hours at a desk. My co-workers who just drink and play video games aren't doing so well.
3
u/[deleted] Apr 07 '17
Some simple ergonomic adjustments at your workstation can go a long way. Turn down the brightness on your monitor. Make your font ridiculously large. Get a standing desk.
3
u/Frenchiie Apr 07 '17
Your posture probably sucks which is where the headaches and neck hurts come from. I don't know about sinus, shingles or IOP but i doubt this is related to your job. If your vision is starting to suck from being on the computer too long then take a 5 minute break every 45minutes.
tl;dr half these issues are specific to you, not the job.
3
u/freework Apr 07 '17
CS job interviews hurt my health, but the actual job doesn't.
Resume after resume, phone puzzle after phone puzzle, rejection after rejection, day after day. Once I actually have a job, I'm on cloud nine. Once I lose my job, I go back to being hopeless and depressed.
2
u/sheepjeepxj Apr 07 '17
Try to make time for the gym or try walking around more, basically don't sit down 24/7.
When you are sitting make sure you have proper seating posture and that everything at your desk is set to the right hight so that you are not spending your time looking up or down with your neck and/or eyes.
Some of this other stuff was stuff that was more or less bound to happen, it is very common for 20 somethings to get shingles. But some of this stuff can get triggered to happen sooner with stress and lack of sleep. So try and reduce stress in your life and make sure to get plenty of sleep at night.
2
u/honestduane Software Architect Apr 07 '17
Yes. Wish I had a way to be more active and thus more healthy as a CS guy.
2
u/litobot Apr 07 '17 edited Apr 12 '17
I used to have neck pain, followed by migraines multiple days a week. I did PT for it, which helped, but what really helped was moving to a standing desk.
I don't know if it's recommended to stand all day, but if you have the option to switch between sitting/standing, try to take advantage of it.
2
u/[deleted] Apr 07 '17
No, but I use the company gym during lunch. Feels great to come back to work after lifting and a shower.
2
u/kemushi88 Apr 07 '17
As an alternative to the gym, try hot yoga.
After a couple of years in the field I realized I was really falling out of shape and having back problems. Doing yoga 2-3 times a week really helped. I've been to a few different studios and all the classes have been filled with people with all different body types and skill levels.
2
u/senatorpjt Engineering Manager Apr 07 '17 edited Dec 18 '24
ripe ancient party complete disagreeable roll work badge husky pet
This post was mass deleted and anonymized with Redact
2
u/northguard SWE (Bay Area) Apr 07 '17
Not personally but I've definitely seen it. From what I've seen, the ones that keep healthy have hobbies that are very active. (more than hiking which apparently everyone does) That's tennis for me, cycling for other people, surfing, swimming, soccer etc. but I think what you do off the job really matters and I don't think it's unique to software engineering, there are plenty of jobs where you sit in front of a computer every day, they just stare at excel sheets or photoshop or powerpoint all day instead of code.
2
u/raretrophysix Sad CRUD Developer Apr 07 '17
2
u/lithiumbrigadebait Apr 07 '17
Yes.
I've largely replaced real meals with coffee/tea, my sleep schedule is completely broken, but thankfully no major health issues yet. Yet.
2
u/Haboo729 Apr 07 '17
After about 2 years of work I started having a similar experience. I felt generally sick all of the time, headaches, weight gain, and a constant cloud of stress hanging over me. A few weeks ago I decided to make a few changes and I have seen noticeable improvement in my productivity, physical and mental health.
-Being new to the team, I would spend way too much time in the office. Mistakes happen and there will always be more work to do, stressing about it will only make it worse. Some days you will be unproductive and that's okay, staying an extra few hours will give you less time to spend on keeping yourself healthy, which will reduce long term productivity.
2) Get Healthy:
-Set up a routine to workout and stick to it, staying late at work is no excuse. Having this mindset is helping me not only get healthier, but making it easier to step away from the desk each night. Also, eating healthy, getting enough sleep and personally cutting down on drinking is making a huge difference.
3) Do Yoga:
-Yoga is the perfect exercise to help you sit for long stretches during the day. Zen Yoga was even designed to prepare Buddhists for lengthy sitting meditations. If you're curious I would really recommend forcing yourself to go. Most classes are very inclusive and good teachers will help you adjust if you're having difficulty in any poses. I can not recommend this enough for the physical and mental benefits.
4) Get Your Mind Right:
-This is more up to you, for me it involves yoga, meditation, reading, and reducing my personal commitments. Stress and anxiety can manifest in legitimate physical ailments. If you're interested/skeptical about meditation I really recommend reading "10% Happier" it's a very ground presentation of the author's personal journey with Meditation.
These are just some suggestions that have worked for me. I hope that some of it is useful for you and you can get back to feeling great about your current and future career!
Edit: Formatting
2
u/wookiee42 Apr 07 '17
Every adult needs to exercise, period.
Even if you get your exercise at work, you usually need outside work/stretching to counteract the repetitive motion.
2
u/[deleted] Apr 07 '17
Small salad for lunch. Get some mixed nuts for a snack. Avoid the office donuts and bagels.
2
u/wolf2600 Data Engineer Apr 07 '17
You have to realize that if a piece of software doesn't ship by the deadline, it's not the end of the world. Don't allow yourself to become so personally invested in your work that it takes over your life.
2
u/reblaw7 Apr 08 '17
One thing I've found, your body becomes "use it or lose it" in your 20s. I work out on a regular basis, and I don't have the same health issues some of my coworkers do. I find I do better when I am able to fit my workouts in before work, after work I'm sometimes too worn out.
My advice: find a well-rounded workout routine that works for you. Don't just sit on a stationary bicycle for 20 minutes a day and expect it to help. Jog, do weights, go on a long walk during your lunch break, HIIT, etc.
I'm 35 and at my age you really can tell people who have kept up on working out and eating well, and those who haven't.
2
u/Monomonoi Software Engineer Apr 08 '17
I'm a software developer for 10+ years now (as a teenager my hobbies were computers and piano, not very active neither). When I started studying, I also started weight training and paid more attention to nutrition. I don't know why, it was probably out of fear of getting too much overweight because I never was a slim guy.
Anyway, these are the most important points for good health in a mostly sedentiary job:
I follow this basic guidelines for almost 20y now. I don't have headaches or neck pain, I don't have back pain or other issues that one get from sitting in front of a screen 8 to 10 hours a day. In training I notice a lot of mobility restrictions though, so I really have to put extra time into stretching, working on range of motion of my hips, my ankles and basically all muscles and joints that you neglect when sitting on your butt all day.
1
u/eric987235 Senior Software Engineer Apr 07 '17
I have neck issues as well but I'm also 6'4" and the world simply wasn't designed for people my size.
1
u/Shiki225 Apr 07 '17
I am not a senior developer, but I do feel like I am sitting way too much. What helps me is, if I am not coding and just trying to figure something out in my head, I stand up. Also keeping a good neck posture will help you.
If possible, get a stand up desk. It is important to stand up so your blood can circulate better. Sitting for a long time makes your blood circulation in your body bad.
1
u/yetanothernerd Apr 07 '17
I've been doing this for over 20 years and I don't have any of those problems. If you have random headaches, get your eyes checked. Sitting on your ass all day isn't good for your health, it's true. But it doesn't have to be all day. Take breaks and move around. Bike to work. Lift weights. Try to eat well. It takes effort, but the effort is worth it.
1
u/[deleted] Apr 07 '17 edited Apr 07 '17
35 here. Been in the field 12 years. I took a year off a few years ago and hooly shit. I knew I would feel better, but I underestimated it. I spent the summer hiking and carrying a backpack. When I returned, all my friends had told me I had gotten taller and I didn't even looked like I had bad posture. I have early symptoms of carpal tunnel and they compelelty disappear when I left.
Sitting in a chair all day makes me feel like I'm rotting away. I feel lethargic and unmotivated.
With all that said, I lift 4x a week, run, back pack, mountain bike, play ultimate frisbee.. I'm fairly athletic, but it doesn't matter. I feel a bit better when I exercise, but it's still impossible to offset the effects of sitting in a chair 8 hours a day. I can't wait to take another year off and stop spending so much time in this chair
1
u/Not_Ayn_Rand Apr 07 '17
I got a standing desk. I also got a balance disc (like this) and stand on it when I have the desk up. I rotate between 1.5 hours standing and 0.5 hours sitting, and when I sit, I sit on the balance disc. This pretty much forces me to have my back straight all day.
If your company doesn't want to buy a standing desk for you, I'd just go for one of those cheap cardboard ones. That's what I had before we moved offices and my company finally got us real desks. They work in a pinch, they're not adjustable but since I'd only sit for 30 minutes at a time, I just kept the laptop on the sitting level and unplugged monitors whenever I sat.
1
u/Jamon_Iberico Software Engineer Apr 07 '17
I recommend finding an active hobby that you enjoy and then doing it. It can be hiking, soccer, basketball, cycling, whatever.
You should also attempt to do planks, pushups, squats, and pull ups.
Eat a healthier diet(veggies, complex carbs, lean meats, high fiber, healthy fats, low sugar).
If you're fat right now know that weight loss is mainly about consuming less calories than you burn. (I went from 260lbs at 6'2 to 185lbs, I speak from experience here)
Hate all physical activity? Then hit the gym at least 3 days a week and do the bodyweight stuff I said earlier and do 20-30min of cardio. It's only ~45min of something you might hate to help you live longer and feel better.
1
u/[deleted] Apr 07 '17
Related question:
How are people's brains? I find my ability to people is a bit diminished after hour staring at a computer screen and thinking "logically".
1
u/nthcxd Apr 07 '17
Burn out is real.
I quit out of a CS PhD program that I worked very hard to get into after sinking 5 years into it. Afterwards I couldn't function for a year and now I work in the industry paying off the debt I accrued.
You have surprisingly little control over some of the resources you need, one of which is motivation/drive. When it's gone, it's gone like you can't run anymore after a marathon.
1
u/Big9erfan Software Dev Manager Apr 08 '17
I turn 40 in a month. I started in this industry 18 years ago, so I have some of the general issues with hitting midlife: gained some weight (20lbs since HS, which isn't bad, but I want to get back down there again), high blood pressure which I think is mostly genetic (and some weight related), and my eyes have gone south on me.
Other than that I don't see my health really impacted by my job. Maybe it's my young kids that keep me moving around.
Keep away from the sodas, the sugary snacks, eat a wide variety of veggies and meat and keep carbs on the low side (which I definitely have difficulty with) and you'll be good.
1
u/foxlisk Apr 08 '17
Headaches and neck pain for me were caused and/or vastly exacerbated by bad viewing angles on my Monitor. Make sure your monitor is high enough that your neck is level when you look at it, and big enough that you're not slouching forwards to see it, and you can retain good posture.
The other health issues seem probably unrelated and you should ask your doctor.
1
u/csfuckyou Apr 08 '17
I guess I'm senior. I'm 33 so I've been doing this for about a decade. I have no negative physical problems. If you have any negative physical issues after only a couple years it's either because you got dealt a shit hand in the genetic lottery, or you are a lazy ass who never gets exercise. You only work ~40 hours a week... be active after work and you will be fine.
However lately I have had detrimental mental health effects due to the increasing demands of being a senior engineer (ie, being the lead for multiple people on a project with unrealistic deadlines.)
1
u/beingengineer Apr 08 '17
Yes, I put on 30 Kilos after becoming software programmer in 20 years period. The biggest change came in after 2008 after which I gained 20 Kilos. Problem is that our weight creeps on us slowly and stealthily.
I started eating a lot of carbs and sugar because those were the kind of food served freely by software companies I worked at. Pizzas Parties were regular and Coke was always flowing.
In 2010 the company I joined added Candies to my diet. Finally, I reached 95 Kilos and was horrified. It was my tipping point and I decided to do something about it.
In 2014 I got sane. I stopped eating everything that my company gave me free. I would pack lunch & snacks from home. Avoided all Pizzas, Coke, and Candies to the extent of zero tolerance to those foods.
Walked 10000 steps every day for exercise.
In two months between July-2014 & Aug-2014 lost 10 Kilos. Since then has remained sane and stopped binging on food.
Two books helped me immensely during this phase The 4 Hour Body and The Sugar Smart Diet.
The first book helped me in understanding weight loss and exercise. The second book helped in getting ready recipes for success.
1
u/[deleted] Apr 08 '17
There's part of your problem right there. 40 hours should be your upper limit on average, you've also got a life outside of work too.
Take regular breaks every hour or so - get up, walk about, visit the break room and chill for five minutes or so. I also go for a 30 minute walk after lunch to help stretch my legs, get the blood flowing and help with digestion.
Hit the gym or otherwise workout in the morning before you start. Unlike other professions where you might walk about regularly, you'll get no exercise behind a desk so you need the gym. If you live close enough you can walk or cycle to work instead.
Keep your snacking under control - I try to fill my drawer with fruits so I always nibble on those rather than filling up on sweet or salty snacks.
Finally, make sure your desk and chair are correctly adjusted and you maintain a good posture. A decently sized company should have a physio who can help you with this or provide advice/treatment for issues caused by your posture.
1
u/[deleted] Apr 08 '17
I honestly had to completely change my diet. More veggies and fiber and less protein, fat, and carbs.
I try at least walking and stretching my legs a few times a day. My manager doesn't mind if I go exercise during lunch. There is a gym nearby.
Some companies offer standing desks. Some people swear by them.
1
u/sheepdog69 Principal Backend Developer Apr 09 '17
You've gotten lots of advice. But the best advice I can give is to read - from cover to cover - The Healthy Programmer. Lots of solid info with research to back it up.
0
u/[deleted] Apr 07 '17
[deleted] — view deleted comment
13
u/[deleted] Apr 07 '17
[removed] — view removed comment