I am here to periodically remind HN that no, not all programmers here are millionaires who only work not to get bored.
Oh well.
I wish money management was taught in schools. My family didn't have money so how were they supposed to teach me about compound interests. And those growing up in money may not realize its value...
Pain inside does make one do stupid crap. Definitely applies to me. Now I am trying to heal and be more rational with money at least. The rest will follow more or less automatically; removing stress is itself healing.
I hope this helps explain more what I meant by what I was saying. I'm not saying "become terrible at your job and produce poor quality". I am saying, "deliver good enough quality within your means". If your boss says "your current code is good enough for the demo", ship the damn thing as is, don't go rushing to add more features and retesting everything until 4AM.
If a deadline really is too short, say it is too short early on. Keep working, but don't put on a cape and deliver because someone said they wanted something they can't have without causing you to lose sleep for two weeks. People die from stuff like that, it is not worth it.
I would say get out as fast as possible.
I dislike my projects failing and missing deadlines. So in addition to pushing back against unrealistic expectations, I caught other people's dropped balls and filled the gaps of un-backfilled roles. On top of that when there was down times, instead of resting, I took on fun side projects that had higher impact for my employer than the work actually assigned to me.
They got me with praise and guilt tripping, until last year, all the little "do this one more thing", "can you ship it 1 day earlier" had turned into me delivering by myself as much work as the rest of my team on ~20h weeks (because the other 20h I was unable to function due to burnout). We're siloed into different projects so I never realized I was doing 5x the work rather than 20% extra until a new reporting tool visible to each other was used...
So this year, I'm not doing side projects, fixing other people's messes or doing other people's work. I've told my manager and he's bringing an extra person to the team. I'll do my work and I'll do it well but I'm a contractor paid half what my FTE counterparts are, and it's not like there is a path to promotion so I'm not going to compromise my health anymore to do the work of 4 extra people for free. Not in any future job.
Point is, check your workload and if you're doing more than what you're paid for: that's where you can take back the time to find meaning in different things. It's not slacking if you're delivering a day's worth of work in a day, no matter how much HR BS tries to guilt trip you into thinking that.
Finding the unicorn job isn't the right thing to predicate your happiness on. One thing I like the idea of and am just starting to try is reminding myself why I'm doing the job. What are my bigger goals that it is contributing towards? I know we all know this at some level, but I think it can help to remind ourselves there is a purpose/meaning to why we do our jobs, even if we don't intrinsically get meaning from them.
I can't remember where I read this idea... but somewhere recently.