r/AskProgramming • u/almofin • Oct 21 '21
Do any programmers out there get sick of thinking?
This is just in general. I've been a professional software developer for around 8 years now, I'm a lead so I have a make a lot of decisions around architecture and how to solve general problems.
Does anyone else get decision fatigue? I come into work some days and my brain winces at the thought of having to do more thinking.
Sometimes I dream of a simpler life, like being a gardener or something (definitely not dissing any gardeners out there) where I don't have to think so damn hard about all the edge cases etc, I can just do.
Does anyone else get this? Does anyone got any tips on how to deal with decision fatigue? I think the answer is obvious and I just need to take a little break from coding, let my mind unwind. Just wanted to see other peoples opinions, see if there's any good ideas
8
u/ICantWatchYouDoThis Oct 21 '21
how is your work/life balance?
7
u/almofin Oct 21 '21
It's a bit all over the place at the moment which is probably contributing
3
Oct 21 '21
I started pottery a little while ago and it seems to be great to rest the mind from programming and studying. Maybe you can start some similar manual task?
20
u/davidsterry Oct 21 '21
What I find most challenging is making decisions in which I have nothing at stake. That's a great opportunity to find a stakeholder to consult or to just flip a coin. If it matters, it matters....or it doesn't. Either way you can move onto more important things.
In extreme cases where I feel overload coming on, meditation or a power nap can work wonders.
2
Oct 21 '21
Though those decisions shouldn't be left to chance, at the very least they account for "style" such as tab vs space, camel case vs snake case, etc. If you're okay with your style always looking like random style, then sure, go ahead and flip a coin.
6
u/kbielefe Oct 21 '21
One thing is to delegate. It can be really difficult to let go if someone else isn't as good as you are at something, but usually they are good enough, and you can just intervene in the most important cases.
Another way to help is writing things down. If you don't, decisions will just spin in your head. Writing them down sort of offloads them so you don't have to worry about remembering the details and justifications.
Another thing I do to help is occasionally finding mindless tasks. Yesterday, I made rote changes in 40 files to remove some boilerplate we don't need anymore. Tasks you don't have to think about are sometimes more of a break than doing nothing, because you still feel like you've accomplished something.
5
u/Ran4 Oct 21 '21 edited Oct 21 '21
Yes! When you're a lead and you have to not only develop code but also plan it, lead your group and constantly answer questions about all sorts of things - trying to take every detail into account - it's easy to get overwhelmed.
One problem is that you might not delegate properly. Find the people that you trust the most in your team, and let them take full control over some part of the project. Whenever you get a question regarding that subsystem/field, don't answer it: instead have all such questions redirected to your trusted partner.
And make sure to take breaks, where you don't talk too much about code or business decisions. As devs we tend to get unlimited breaks, meaning lots of us don't take any breaks during the entire day (other than lunch) because we're too caught up with work. Taking the occasional 45 minute break during the day really helped me not get too fatigued. The decisions I made also tended to be much better after these breaks.
4
4
u/Icanteven______ Oct 21 '21
Yes, I think most of us do.
For me...it's understanding my limits. I believe you only have about 4 hours of really good mental capacity for hard thinking/work in one day. After that, your decisions are poorer and you are fatigued.
Those 4 hours also need to be chopped up into 2-3 chunks with a solid break inbetween each (like 20-40 minutes).
Then each day after or before work (or during a break), you need to do things that rest your mind to let you enjoy those 4 hours of work again tomorrow. This is not just sitting on the couch and watching TV, turning your brain off, etc, although that might be some of it. This is recognizing what gives you joy, and actively participating in it. It might be a hike, playing tennis or ping pong, making or playing music, painting or gardening. Something that engages your mind, but isn't a chore.
4
u/Delaneybuffett Oct 21 '21
When I started back in the 90’s my boss was in his 50’s and said he was tired of learning and never wanted to learn anything new. I couldn’t believe anyone wouldn’t love learning and especially in IT. Now I am nearing the end of my career I understand my old boss you just get to a point where you are just tired. For me the decision process is easy if I throughly understand the options and a have level of control on seeing my decision come to life. If I feel like I don’t understand options then I feel like I have to teach myself and boom I just shut down. Same if I have no control I just want to say why even try.
3
u/AnnualPanda Oct 21 '21
Yes. Every so often I’ll straight up not look at code for 1-2 weeks, maybe more if I can get away with it.
3
u/myearwood Oct 21 '21
My wincing comes from looking at code an 8 year old can devise. Copies upon copies of similar code, not in a reusable routine. Duplicating code in a loop instead of setting up before the loop. This from programmers with more than 15 years of experience.
2
u/yeastyboi Oct 21 '21
I feel similar, I work with smart guys but they are too stubborn to learn anything new. They don't know object oriented design principles or even functions for that matter. They write everything 100% procedurally. They don't want to learn and grow they just want to get the day over with.
Our senior developer is a great guy who writes great code, they insult him and say it's hard to read his code because is too separated. They laugh at creating functions "because you can just copy and paste its easier". I'm so frustrated!
1
3
3
u/VirtualLife76 Oct 21 '21
It happens. For me it's more about getting tired of dealing with the same piece for too long. Haven't found a good way to get out of that mentality tho. 20 years of coding and there are still pieces like implementing security that I always hate doing.
2
u/sascha-sphw Oct 21 '21
I'm a lead software architect for 4 teams and several components (around 15 years of experience including my dev career). To me it is not really fatigue, but I also enjoy other (less brain active tasks) some time.
In general I like to do some craftsman activities to relax. Like woodworking, simply saw, file and screw in the workshop. Very refreshing. But I guess this is pretty much a matter of personal taste what is relaxing to you.
1
2
u/1Catastroph1 Oct 21 '21
My advice is to not overthink much and just complete tasks one at a time .. focus on completing one task at a time
Just plug in some music grab a cup of coffee and just take it chill😀
2
u/rcls0053 Oct 21 '21
We all have a certain amount of cognitive capacity per day and need sleep to restore that capacity. I believe that if you overload that capacity, you need more time to recharge than just sleep. This can be due to stress, working too much, etc. A doctor or a scientist can correct me on this.
I work with a lot of great programmers, who just say they don't do any programming on their free time anymore. Their 8 hour work days consume that mental capacity, and they'd rather spend the rest of the day relaxing.
I tend to do some grunt work sometimes, where I just write code automatically without much thinking because I've done the same thing a thousand times already, and that eases my mental load.
1
u/amasterblaster Oct 21 '21
Everything a human would ever need to know about the motivation / dopamine / cortisol system:
https://www.youtube.com/watch?v=vA50EK70whE&ab_channel=AndrewHuberman
Edit: from the video summary "This episode explains the science of motivation and drive. I describe how dopamine, a chemical we all make in our brain, underlies our desire for and pursuit of our goals, as well as our capacity to move and experience pleasure. I describe how we can leverage specific behaviors, reward schedules and dopamine-prolactin balance to help ensure we can maintain motivation and capacity for pleasure over the long term. I also discuss dopamine in the context of ADHD, craving and addiction, and some absolutely amazing results about specificity of drug effects based purely on belief."
2
u/amasterblaster Oct 21 '21 edited Oct 21 '21
I'm super on the spectrum, so I have the opposite problem, which is annoying -- a mind that wont quit. If I meditate for one hour, I can get a few hours off of "problem solving".
As I walk around, my unconscious passes me up "solutions" that I dont need right now, like ideas and answers to bugs / snippets. I then have to purposely forget about them. I used to write them down, but then I would find myself walking around with stacks of fucking paper all the time with tiny serial killer scrawls of notes all over them. Inevitably, I would end up sitting down to enter ideas into code files, jira, or Unity / figma / docs (etc.) Then I catch myself working.
Basically, I wish I was you. I think it is totally normal, and you should enjoy your slow days. Not all people have slow days, and living the way I am apparently born to live can feel very tiring sometimes. But, it's just who I am.
Be tired and have chill days! (Grass is always greener on the other side I suppose)
2
u/dashid Oct 21 '21
I've been overdoing it for a while and it's making my head dizzy now. But it's more juggling way too much work, I've got loads of very complex plates spinning all with mental to-do lists associated with them.
I love thinking and making decisions. Just one or two at a time please.
2
u/adantj Oct 21 '21
Yeah. That's why doing a physical activity such as exercise or sports have so many mental health benefits for people who have to think deeply how to solve complex problems. It allows your mind to shift focus and rest from such abstract thoughts
2
Oct 21 '21
Sounds like anxiety. Maybe you need to get a little more perspective on the potential consequences of the decisions you're making.
2
u/david-chaves Oct 21 '21
No, but there are some tips that can help. For example:
1- Avoid all interruptions. Turn off the phone. If you are in a Team, designate an "Interruption Handler" of the day: if somebody contacts the team for any reason, forward that person to whoever is handling interruptions that day, inmediatelly.
2- Predefine a time-out. If you are thinking and you can not find a solution, then after a predefined hour you will discard everything you have done and start from scratch in a different direction. The predefined hour could be "lunchtime" or 2 pm, for example.
3- For bigger problems, go for a walk. Thinking while walking is very productive. It does not matter where you go. Go to wash your hands at the MacDonalds 3 blocks away.
2
u/pasinc20 Oct 21 '21
Yes. Completely and I’ve only been doing it for 5 years so I can’t even begin to imagine what it’s like for 8
2
u/corbinthecoder Oct 22 '21
I think this is the commonality that most of us share. I personally struggle to use my brain at all after work. I don't want to play video games, or puzzles, or anything of that nature.
2
Oct 25 '21
I want to think that this feeling occurs in any job outside of computer science, it's like rediscovering the spark in a marriage of years behind the back. Find the motivation and roots of your occupation. Why did you become a programmer?
2
u/linuxlib Oct 21 '21
I once told a couple of coworkers, "I don't get paid enough to think this hard."
1
Oct 21 '21
You think garbage men don't get decision fatigue? They definitely make decisions around different things and scenarios, but they still make ton of decisions.
1
u/c_edward Oct 21 '21
I do manual stuff and physical stuff in my down time, Rock climbing, Carpentry and building, Cooking and gardening. The rock climbing is most zen like for me and helps silence the work chatter in my head
1
Nov 02 '21
Yes for sure. Have you considered applying for a new job/position elsewhere? A new project/work scene can definitely resharpen your focus
1
17
u/Blando-Cartesian Oct 21 '21 edited Oct 21 '21
Currently in a similar mental place. I know that brain wincing. What I’m trying to do is set boundaries to my caring. I’m too opinionated perfectionist anyway. Less experienced devs need to get to do thinking too and deal with the consequences.