HACKER Q&A
📣 inarut2023

How do you get out of a rut?


Software dev of 12+ years.

I'm in the worst creative and motivational rut I've ever been in.

I can't get excited about code anymore, and creative solutions simply will not come to me. Every single coding task feels 100x the effort that it actually is.

I desperately need to get out of this rut, as it's killing my mood and causing me to spiral downward. I've always been a great engineer but something changed in the last few months.

How have you gotten out of ruts in your life?


  👤 coding123 Accepted Answer ✓
Same here, push push push.

👤 cataly5t
It's hard to say without really knowing your situation, but it sounds like the problem may be somewhere other than with the actual work. Has anything else changed in your life in the past few months? There maybe be something you've been avoiding dealing with. Also pay attention to your diet and exercise. Taking care of yourself will make you feel better. Do yoga. Good luck <3

👤 frontiersummit
I read this as "person, 35-ish, stuck in a rut" which is a situation so common that automakers engineer cars like the Mazda Miata specifically for people in it.

👤 cableshaft
Make a change. Something significant enough to be noticeable.

Change your job. Change your relationship. Change the city where you live. Change your primary hobby. Change your friends. Go back to school or start a business. Go somewhere you've never been before, the further away the better.

You don't have to (and probably shouldn't) do all of these, but you should probably do at least one of them. And changing your job seems to be one of the more effective and easiest ones, in my experience, and may naturally facilitate a few other changes as well.

Also take a break before the change happens, if you can. Like tell a new job you'll be available to start two weeks after you quit the other job (don't word it like that, just say you'll be available to start like 4 weeks after accepting a job offer). You probably could use at least a couple of weeks, if not more, to not have to think about code.


👤 karaterobot
[delayed]

👤 Ocerge
I just started a month-long leave from work for...exactly this reason, to the same year. Grinding it out for over a decade without stopping for even a full week of vacation catches up to you eventually.

👤 HtmlProgrammer
This used to happen to me regularly and I couldn’t figure out why and then it turned out that I have bipolar disorder so that was fun

👤 pySSK
Take a vacation or pick up a new hobby or organized sporting activity.

👤 worik
* Holiday

* LSD

* Do another job for a while


👤 dmead
Have you seen a professional about these feelings?

👤 hnthrowaway0315
Do you have a kid?

👤 aryan14
Take a vacation

👤 zerobrainwash
Been there and there is no easy answer. Personally, I’ve tried switching jobs, doing new hobbies on a side but it was not enough. I’ve burned out much deeper than 1-month vacation or a new job, doing essentially the same, could fix. In the end, my whole life needed changing. Now I’ve cut my costs a lot, work a lot more on my own projects, take on freelance work, and spend A LOT of time doing other shit that I want to do. It feels crazily unproductive at times and I’m missing out on a lot of money and career improvements. But I feel fucking alive.

I think to get out of the rut, you actually need to do significant changes that feel scary but those are the only ones that will shake you and get you out of the rut. It’s actually really simple but also not easy. In a sense, we crave for that rut and familiarity of what the next day brings but that’s also what kills us. Need to shake up things periodically, try to discover other parts of yourself you didn’t know or forgot about. That will do the job.


👤 thequadehunter
I don't think I consider myself a "great engineer", but I've gone through similar feelings and I see a few issues here.

I think the way we get into this industry is a doubled edged sword. A lot of us do this because we love computers and software. The upside of this is that it's easy to stay motivated and move up. A lot of us probably grew up as black sheep in our communities, and are now being handsomely rewarded for our efforts. It's very validating.

However, I think there is a dark side to this validation. Eventually, some of us begin to see our self worth in our output. On top of that, there's always pressure to learn new things, because if you're not keeping up then you may get left behind. This is easy enough in your early 20's when you're full of drive, but real life responsibilities pile up with age, and it gets harder and harder.

I can't say for sure if you fall into this category, but I know I did, and I realized two problems.

1. I saw my self worth in my career. In general, I needed external validation to feel happy. This is not sustainable because sometimes you're working on projects that you know are bullshit, and sometimes you screw up. If you ever bite off more than you can chew or get stuck on a project you know is stupid, it will burn you out.

2. I needed to turn off the computer. You say that you desperately need to get out of this rut, but the rut isn't the problem. The fact that you think you need to get out of it is the problem.

Turn off the computer. Stop coding for a few days outside of work. Go outside and don't bring your phone. If you are on public transport or something and you have the urge to check your phone, pull out a book instead and begin reading.

It may sound counterintuitive, but all of this is way more productive and inspiring than desperately trying to escape a rut that was created by your own mind prison. You need to unplug for a while. You are most likely burned out.


👤 lnwlebjel
I'll add that you might go to a doctor to get various levels checked. Thyroid levels can cause something similar. You might just rule that out first.

Otherwise, post pandemic I was in a similar situation. Some combination of time off, reduced load (stress), more sleep, more exercise, better nutrition all finally added up to getting me out. Good luck.


👤 robg
As a neuroscientist who struggles with my brain wellness and health, I’ve developed a checklist for my own self-assessments:

1. How is my sleep?

2. Am I limiting caffeine intake?

3. Anything else affecting my sleep? Room temperature? Lights? White noise? Eating too late? Alcohol?

Sleep is how the brain repairs damage caused by daily life. Not enough or poor quality means you will drag, not just over days, but weeks and months is exactly a downward spiral.

4. Checked my Vitamin D levels recently and supplementing with D3/K?

Circadian rhythms and cognition are poorly studied, but there’s good evidence on Vitamin D and mood and seasonal affective disorder.

5. Managing stress?

Too much stress affects key brain functions like learning, memory, and attention. Too little sleep leads to more stress.

6. Exercising enough?

Am I getting outside daily, going for walks or runs, etc.

7. Nutrition

Am I making good food choices that give me sustained energy or am I eating mindlessly?

The pandemic was the last piece on nutrition for me. I saw how one bad meal (e.g. burger and fries) affected me for 2 days.


👤 kingnothing
It's hard to give advice without more info about your life situation.

Overall, I'd suggest talking with a psychiatrist and psychologist. Get screened for depression and other possible mental issues that may cause this.

If everything else in life is amazing, maybe you're starting to burnout. Can you take a few weeks off?


👤 11235813213455
I've seen somewhere that motivation is meaningless, it's all about (self) discipline.

For example if you don't like running or cycling, but you have to do it daily, then you'll end up liking it (be "motivated")


👤 Appsmith
You're not alone in this!

Could it be that you're not able to relate to how whatever you're doing actually matters? If so, I'd say speaking to a few would-be users might help.


👤 nickstinemates
Find something, anything, to get excited by. Hopefully tech related, but maybe not.

Has worked for me multiple times.


👤 sharadov
Sounds like burnout. Take a vacation!

👤 FigurativeVoid
A lot of the advice here has been good.

But here's another one. Lower the stakes. Take some easier tasks. Try and reduce the stress of the job.


👤 purpleblue
Spend the next year making work the least significant thing in your life.

Do a good but not great job at work, and instead focus on doing things like travel or finding a girlfriend/boyfriend if you don't have one. Work out once a day, visit friends in other cities, go on a road trip, etc.


👤 oulu2006
I've been in this rut for a while.

For me? the solution was getting GPT-4 to start all my code, it's solved my "slow/cold start" problem.

Once I have the initial code generated for my problem, editing it has proven to be far more effective for me to continue being productive.


👤 garrickvanburen
About 9 years ago now, I worked through The Artists Way - https://en.wikipedia.org/wiki/The_Artist's_Way - highly recommended.

Friends of mine have said they found their new business on the other side of TAW.

TAW gave me means to foster and maintaining a mental environment for creativity and delight to emerge. And just for that I highly recommend it.

TAW is great for identifying underlying creative blockers and helping you discover if the current rut is the same rut repeated or something new.

A caveat: some people interpret the words 'artist' and 'god' in the book pretty narrowly and get stuck. I've personally pretty wide interpretation of those words and hold them loosely.


👤 asow92
What are your thoughts about going into management? Even if your first response is to recoil, consider if the change of pace may help shift your perspective on your career. In my experience some the best managers are engineers who don't want to be managers, and you can always go back if it's not for you.

👤 haolez
You are clearly overworked. Your brain activates defenses to get you away from work so it can heal itself. Slow down and look for a professional that can prescribe you with medication that can accelerate the healing process.

👤 makmanalp
I can relate sometimes. Doing what you're doing, but harder doesn't seem to help.

Some things that help / helped me:

1. Some serious self-reflection about what the problem is: What are the things you do vs don't enjoy about your job? Do you really like what you're doing or are you doing it because of money, goals you set for yourself / you think this is the most prestigious type of company / problem / etc? Is the problem with yourself or the people you work with? Have you ever been happy at work before (at any job you had) and what was different about that? Or perhaps are you not sure about what you actually enjoy? Or are you just tired?

2. More self-reflection about what work means to you as a person and why: Is your job also your passion? Are you proud of your technical achievements? Do you have daily work hours or do the boundaries blur? Do you put in more work / care more about things than others (e.g. code quality, arguing for the right technical decision)? Do you feel especially good when people tell you you did a great job or somehow acknowledge that you're smart? Do you feel disappointed, unappreciated or like there's something wrong with you if you fail to get this kind of feedback? Not saying this is always the case, but for me they're warning signs for a type of relationship with work that's prone to burnout sooner or later. Maybe talk to a therapist about this kind of thing to help you sort out your stance on this, or just generally about a downward spiral in mood.

3. A big break - unfortunately not everyone can afford this but I'm assuming an engineer with a decade of work experience like you probably can. Go do something else for a while. Definitely a month. Maybe a year: e.g. take a job that's not the most technically or personally challenging but will give you other things: more work-life balance, meet interesting people you wouldn't, will expose you to different subjects you like, give you more freedom with your approach, let you play more. For example, I worked at an academic research center for a few years and it was not without its own challenges but overall broadened my horizons a lot. This isn't going to fix your problems in the long term but maybe you'll realize truly how things can be different - the benefit of perspective.

4. Some small "daily life" changes (obviously huge caveats here about lots of people not being able to afford / allowed to do this stuff but again software engineers usually have this kind of nice privilege, so why not take advantage): Some example ideas: Try to do less things at once, maybe work on one thing at a time even. Work on something with someone you like. Take 5-6 Fridays or Wednesday afternoons off in a row: just see how lessening the load a bit or breaking up the work helps. Enforce a hard-cutoff deadline in the evening. etc.

Now, to actually follow my own advice ...


👤 tppiotrowski
Are you doing repetitive work? Can you take a step back and ask how you could automate or make mundane tasks take less time?

I often get exhausted when I know it takes 20 minutes of busy work (manual testing, spinning up environment, opening IDE, updating tickets, etc) to commit a single line of code. Don't try to power through this or you'll burn out eventually. Try to optimize time for tasks you enjoy.


👤 davitocan
I usually either start a new hobby or go back to one I haven't worked on in a while. I find that eventually my interest in coding returns and I slowly ease back in. Doing this I find it preserves enough drive to still be good at my day job.

👤 svilen_dobrev
change.. things.. drasticaly.. but NOT everything. e.g. Move continents but keep friends. Give away most things.. or time - start mentoring someone for the fun of it ONLY. Throw away all everyday "pills" you intake (caffeine, youtube, you-name-it).

see how it goes... then decide further.

(watch Sacrifice by Tarkovsky)

and... have.fun.


👤 npollock
your values change as you age, so if you're repeating the same old activities and feeling drained - it's time for change

recall the excitement you had as a child, as a teenager, a young adult - this will yield clues as to what might spark your energy again

as others have mentioned, movement and exercise are simple hacks to improve mood quickly


👤 sys_64738
Don't the folks around you that you work with inspire you? Either folk smarter than you or those you mentor?