cross-posted from: https://quokk.au/c/cs_career_questions/p/1337560/how-do-programmers-work-9-to-5-or-longer-sitting-behind-a-computer-without-getting-health-is

My career started as a programmer after I studied software engineering but I quickly realized that spending the entire day in front of a computer made me feel headaches and shoulder and neck pain continuously.

A lot of my hobbies were also computer related though, like gaming and programming things for myself. So I’m wondering how other people deal with this?

It got to the point where I just had to quit my job because I just couldn’t concentrate anymore on doing my job.

  • farmgineer@nord.pub
    link
    fedilink
    English
    arrow-up
    30
    ·
    1 day ago

    That’s the fun part: we do have health issues. Standing desks and taking breaks can help.

    • AloneDownUnder@quokk.auOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      The thing I’m wondering about is how people can keep working, even with the health issues?

      I had a colleague who was overweight, and smoked. Nice guy, but had lots of bad habits. But at the same time he could just keep working continuously. He would work overhours late at night and even do the weekend deployments.

      And meanwhile I start being unable to concentrate after two weeks of working and at that point I have to take like an hour break for ever hour of work I do.

      • farmgineer@nord.pub
        link
        fedilink
        English
        arrow-up
        8
        ·
        1 day ago

        If I find a task interesting, I can be working on it and suddenly realize it’s nighttime. On tasks I hate, it’s a chore to be focused at all. I went into software development because it was a hobby from the time I was quite young and I enjoyed it. I still do after doing it for 20+ years (although AI being forced in removes all the parts I actually love, but that’s another story).

        Anyway, because of issues with my back and knees, it’s not like I’m going to be out there doing construction work again or something. I’ve worked a lot of physical jobs when younger; they all hurt us in different ways.

        • AloneDownUnder@quokk.auOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          I think I actually like software development and making my own programs. I did it from a very young age but once I started working in the industry, I didn’t realize that actually most of your work is not programming at all and I really don’t like a lot of the work in a typical tech company.

          • farmgineer@nord.pub
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 day ago

            actually most of your work is not programming

            Heh, yeah, this surprises folks. Lots of planning, designing, finding requirements from all stakeholders, presenting designs, architecture, and then programming (in between bugfixing, production issues, and such) along with tests, test plans, etc. oh, and don’t forget the research (often on your own time) to keep up with all the new stuff to stay employable and productive.

            • AloneDownUnder@quokk.auOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              16 hours ago

              Yup, exactly.

              I actually like researching and finding new solutions. But it can be mentally straining.

              I noticed that when I can program something based on my acquired knowledge, I can make something fast and the mental effort is minimal, even though, I still have to think hard.

              But once I have to use the internet to research how to configure something or how to solve something (this includes using ai) I quickly feel mentally exhausted and can’t really continue for long.

        • AloneDownUnder@quokk.auOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          It used to be the same for me that it was very hard to concentrate on something I’m not interested in, but somehow I managed to, you know, push myself through it and that’s kind of like the standard way I work.

          And I think I now figured out that it doesn’t really work.

      • slimes@lemmy.world
        link
        fedilink
        arrow-up
        5
        arrow-down
        2
        ·
        1 day ago
        • Weight isn’t a good indicator of health.
        • Smoking nicotine improves ones ability to focus by increasing blood flow to the brain among the negative effects.
        • Needing things to change to keep you interested is an ADHD symptom.

        Generally speaking people are ignorant about their own health conditions and are encouraged to work through them and punished for taking breaks, including for healthcare. The disabled people that need help working are often abused out of workplaces.

        Many disabled people need telehealth conditions to work, which has always been a point of hostility because it helps disabled people, whom they are trying to force into poverty and destroy.

        • AloneDownUnder@quokk.auOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 day ago

          Yeah, even though my weight is fine, I definitely didn’t move a lot for a long time when I started working, which, yeah, made me feel much worse than during my studies when I was still doing sports regularly.

          I think in my family I was also encouraged to really just push through and not complain about anything which definitely made things worse for me at work.

          It’s weird for me because originally with Covid and remote working, I was very happy because it was the first time I could actually just be in a calm environment, aka my home, and actually concentrate on the work that I had to do, but at the same time it was also much worse for me, because it was much easier for me to just spend the entire day behind the computer, just working focused, and then after work just continue sitting there and play games or do other things on my computer, so basically the entire day behind the computer.

  • sickday@fedia.io
    link
    fedilink
    arrow-up
    8
    ·
    1 day ago

    I’ve been WFH for nearly 8 years now and I work out just about every day. Taking breaks during work is crucial. I can’t concentrate without taking breaks and doing some stretches and exercises here and there. While at home I take some time to lift my free-weights and use my exercise ball throughout the day and during breaks. Oh and I also make it a point not to snack all day and have a pretty set meal schedule with a decent diet that took years to get right. At night after dinner I head to a local gym to get a decent amount of cardio in (stairs, bicycle, 2.5km run, 2.5km row). Lastly, I mix in a sport I enjoy (soccer). I’d consider myself in pretty good shape, but it has more to do with my habits.

    • AloneDownUnder@quokk.auOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      15 hours ago

      I think I just have the bad habit that I feel like I can’t get any work done if I take frequent breaks. But yeah, obviously that can’t be true.

  • naeap@sopuli.xyz
    link
    fedilink
    arrow-up
    9
    ·
    1 day ago

    Yeah, as others said, we do
    And not just physical health issues

    Just sitting still and focusing, while being under high mental stress and adrenaline is a shit combination

    Probably that’s why the CIA has trouble finding IT people that don’t smoke weed

  • i078
    link
    fedilink
    arrow-up
    14
    ·
    1 day ago

    What makes you think desk-job people don’t have health issues? There is even things like “being sedentary is the new smoking”.

    Individuals combat this by doing active stuff besides their job, stand-up desks and all kinds if stuff.

    Finding numbers for the issues caused are obscured because the effects are diverse. But obesity, back/neck complaints up to stuff like thrombosis at least are accelerated by such jobs.

    • AloneDownUnder@quokk.auOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      I would assume other desk jobs have the same issues, but I can’t comment on that because I didn’t do such a job yet.

      I do assume that programmers are more likely to also spend time on their computers compared to other desk jobs, but maybe that’s just me.

      I never had problems with my weight. I’ve always been closer to underweight than the opposite.

      I know that people will go and exercise to maintain their body. But I don’t feel like that’s enough for me. Especially considering that eyestrain is not really helped by exercising.

      I’ve heard that you can’t really offset a sedentary lifestyle by exercising in your free time, but you have to build in frequent breaks during the work itself. But I wonder how people deal with that without looking like you are just slacking off all the time.

      • i078
        link
        fedilink
        arrow-up
        2
        ·
        21 hours ago

        Ideally you don’t slack off but find a way to make it work related. We have meetings at a standing table for example, but taking any valid excuse (coffee, toilet) and picking the furthest distance at least helps a bit.

        For eyestrain it’s really usefull to focus on distant objects every once in a while. I happen to have a decent view so that’s not an issue for me, but I can think of situations where it’s harder to do.

  • Pencilnoob@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    For me the nerve pain started year one of being a software engineer. Here’s an the things that solved it such that I’m still working 20 years later:

    • weight lifting (especially squats and rows)
    • learning vim
    • switching to a split tented keyboard (ergodox)
    • switching to a vertical mouse
    • finding jobs with lots of pair programming (only typing half as much)
    • play a lot less video games
    • standing desk a few times a week (sometimes with treadmill)
    • proper height chair and shoulder positioning
    • frequent getting up to walk around the office or the block

    Without all of these I’d have quit in year one.

    • AloneDownUnder@quokk.auOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      15 hours ago

      Wow, great that you managed to find a way to make it sustainable for you.

      I think I’ve done a couple of these things myself as well, but I definitely have to try out the other suggestions.

      I also learned vim, but I’m still using my mouse quite a bit.

      I’m doing some weightlifting as suggested by my physio now.

      I like doing pair programming but I haven’t really done that much in my latest job which I eventually had to quit.

      Video games and other screen-based entertainment are difficult for me to give up. I tend to grab for them as soon as I feel uncomfortable, but they might actually be contributing to my discomfort as well.

      Even with all these changes I still feel it’s difficult for me to sustain a programming job though.

      I haven’t tried a split keyboard or vertical mouse, but I also feel like I don’t really have too much issues with my wrists, mostly shoulder and back.

  • Hayduke@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    1 day ago

    Just get up frequently, coffee/snack/chat/walk. Hit the gym. Eat right. Drink yourself into a stupor every night.

    Been my formula for 25+ years as a dev. Works a treat.

    • AloneDownUnder@quokk.auOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      I think I’m doing quite alright on the eating and exercise part.

      But at work itself I do struggle with breaks. Chatting with colleagues is something that can cost me more energy than working itself, so that’s difficult as a break.

      Coffee doesn’t seem to work for me (and I dislike the flavor). The times I tried it, it just didn’t seem to do anything, or it made me very sleepy.

      It’s incredible to me that you’ve been able to do that for 25 years. I mean that.

  • onlinepersona@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    1 day ago

    Get a proper seat and learn how to adjust it to sit properly. Get a split keyboard and learn to go mouseless. Seriously, it changes your health.

    Stretching and working out also help. There are stretches and exercises for sedentary jobs.

    • AloneDownUnder@quokk.auOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      I actually made my own Ortolinear 40% keyboard, which I feel is very comfortable for me. Especially because it’s very low profile, so I don’t have to hold my arms at a weird angle.

      I’ve never really managed to go purely mouse-less though. Maybe it’s because of the DE i use.

      I also wonder how people use browsers and such without mouse.

      I don’t really have the money to afford a proper seat and standing desk at the moment, but I also feel like maybe it would be worse for me, because if I made it very comfortable I would sit even longer at my desk than I already do.

  • pHr34kY@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    I walk to the train station, which is 15-20 mins each way. Then I play baseball on weekends. I’m typically on my feet until 11PM anyway.

    In my 40s and my neck, back and eyes are fine.

  • owenfromcanada@lemmy.ca
    link
    fedilink
    arrow-up
    4
    ·
    1 day ago

    I don’t have issues with pain unless I’m really focused on something for a few hours. Make a habit of getting up and stretching at least once per hour. Break eye contact with the screen regularly too. Invest in a good chair.

    • AloneDownUnder@quokk.auOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      I do notice that I tend to be very focused with any work that I do. But I don’t really know how to do it in any other way. I feel like if I don’t keep focused on what I’m working on, then I might forget the context of what I’m doing.

      If I would stop regularly, I would need quite a bit of time to get back into what I was doing. Maybe I’m doing things the wrong way. Stopping regularly to look away or stretch makes sense, but I don’t really know how to incorporate this into the way I work.

      • owenfromcanada@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        24 hours ago

        I tend to stop physically, not mentally. As I’m breaking eye contact and stretching, I’m mulling about which way to implement something or what to try next to get to the bottom of a heisenbug.

        For longer breaks, I tend to time those at a dip between two tasks so my brain doesn’t have to pick up as much from where I left off. If you have trouble with that, it might help to mentally break down your work into parts before even starting it. Make a sort of mental roadmap/agenda. Helps identify good break points and helps you get back on track more easily.

        • AloneDownUnder@quokk.auOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          13 hours ago

          Yeah, for me it seems like i need 30 minutes or more of literally doing nothing before I calm down and stop thinking about work.

          But that’s kinda difficult to do in the middle of a workday. But if I don’t it just seems to accumulate until I get overwhelmed and crash, even when taking regular physical breaks.

    • AloneDownUnder@quokk.auOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      Wow, so how do you work. You just do 2 hours of work remotely and dont work for the rest?

      Or are you able to do work without concentrating? And how? What kind of work?

      • ludrol@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        I am currently a student so I don’t have a boss that would demand constant focus. As I heave read various previous threads about that sort of thing, most people pretend to work and at least 50% of time is spend on non-coding tasks requiring far less focus.

        • AloneDownUnder@quokk.auOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          13 hours ago

          Yeah. Except that for me, those non coding tasks actually require more focus. Maybe it’s the way my brain works, but following a meeting with 5 colleagues or figuring out what tasks has priority tends to require a lot of focus for me.

          Even worse is pretend working. Just looking at my screen but not really working. For some reason doing that exhausts me so fast. Maybe because I’m constantly on edge thinking what if somebody realises I’m not really working.