How to reduce stress and overcome anxiety as a software developer
andreizgirvaci.com
andreizgirvaci.com
Then the bad decisions from management started and I started to love my job less, I still woke up with some excitement.
2 and a half years later: today what I do has more to do with pressure and deadlines than with learning and/or doing the right thing.
Today, I find it unsustainable to work 8 hours a day, I've come to hate what I do, I can't imagine looking for another job doing the same thing.
Sunday nights are getting harder and harder to bear. Anxiety and despair blind me to the point of believing that I won't be able to do anything else in my life. I think I need some urgent help.
Edit: I'm in my mid 30s - already had a carreer switch
Sounds like you need to escape your current environment.
Try that with 15 or 20 years under your belt and a mortgage and a family… it‘s hard
If not, then your anxiety might come from an expectation that you must love every part of your job. Use something like pomodoro (this is simple and works: https://brainpls.work/) to do one task at a time. Once your work day is over, go do something you enjoy.
No that's not the problem.
I suffer a lot with context switching all the time, I'm responsible for many serious things that could lead the startup to a completely failure.
I'm really not sure if I have the skills for the task/challenge, etc. People like me and my job, but I'm pretty sure I don't have the skills for so much just yet, I think that is the source of all the anxiety. Plus doing/feeling it 8h/day every day kills my mind.
> "It identifies which leadership skills are most effective in a technical environment and why technical people have characteristic trouble in making the transition to a leadership role. For anyone who is a leader, hopes to be one, or would like to avoid being one."
I believe I'm in a similar situation. Currently on a small startup where I do backend/frontend programming in Typescript, C, Golang and Lua across multiple different projects. I'm high on ADHD and context switching is very difficult to me, to the point where if I start a day working on a project and finish it early, I end up not switching contexts until the next day.
> I'm really not sure if I have the skills for the task/challenge, etc. People like me and my job, but I'm pretty sure I don't have the skills for so much just yet, I think that is the source of all the anxiety.
This seems a bit like imposter syndrome. When I was younger (38 now, almost 20 years working as a programmer) it bothered me when I was not working hard and I felt the need to always show myself being very productive. In time you will learn to care less about how you are perceived at work.
> Plus doing/feeling it 8h/day every day kills my mind.
Do you really code 8h/day? If so you seriously need to lower your pace as this is not sustainable. Pick one or two cognitive heavy tasks you can complete in a couple of hours and once done do light things such as answering questions on slack, writing documentation. Also take healthy pauses to read HN and other articles you find interesting (this is what I'm doing now).
Overall, try to view your job as a marathon and not as a sprint. It is fine to work hard when on a tight deadline, as long as it is the exception.
Here are other very good answers in this HN thread:
- https://news.ycombinator.com/item?id=35793026 - https://news.ycombinator.com/item?id=35793147
See if you can get some juniors to take on some of this. Agitate for some hiring, if you need to.
Delegating is how you move up the org chart. Which seems super-weird, like how you can just pay someone some money and then you own what they did—like, what? How does that work? Feels dirty and wrong. But, in fact, it's how everything works above the lower tiers of an organization, and at the top you really are just paying people money and then owning everything they did while you were paying them (then your job is to get someone else to pay you for that stuff—or, uh, to tell some other people to do that part for you, too).
However much it doesn't feel like it, telling others to do work isn't just work (well, "work") it's more prestigious work than actually doing stuff. A career-advancing response to having too much to pay attention to can be, I shit you not, finding other people to do it instead.
But honestly, take a little bit of time every week, even if it's just 1hr a week, to start looking for a new job. There are better workplaces. And if you start interviewing now as much as you can stand, you'll be ready when you get a chance to actually jump into something better.
This is the root of a lot of emotional problems for employees in the USA.
You're morally hijacked. That's no way to live a working life.
Leaders are very rare, especially in corporate.
First, I would advice to stop using the love your job mental model. Instead look into the concept of "Career Capital" from So good they can't ignore you.
Second, here is another mental framework and exercise that I recommend to my mentees. Rather than thinking about job satisfaction as a line between "love" and "hate", think of it as a measure in a multidimensional space. Maybe you work with cool tech, but the commute is killing you. Maybe you have tons of fun with you colleagues, but it pays way below market.
Every day write down your mood, and what caused that mood. Maybe you are angry because of a bad interaction with your boss. Maybe you are unhappy because Tim got the new cool project again and you are stuck doing grunt work. Maybe you had fun when you went out for lunch with your team.
Once you have enough data points you can start observing patterns. I find people hardly ever completely hate every single aspect of their jobs. Most often there is a few factors driving the dissatisfaction, that paint the whole experience badly.
Then you can decide what step to take next to improve on those points. Some actions might include doing things differently in your current position, change teams or change companies (it hardly ever comes down to changing careers).
You might be thinking that this is a very long winded way of telling you to change jobs, but the self reflection step is important. I've seen people change jobs because they were unhappy, just to be unhappy in their next job. Often the reason is that they misinterpreted the reason of their unhappiness. Without that awareness they are bound to find themselves in the same situations over and over.
As a side note this isn't a replacement for help with anxiety and despair. If needed be look for professional help. Best of luck.
[1] https://www.amazon.com/Good-They-Cant-Ignore-You/dp/14555091...
You told us what you dislike but what would you personally prefer ? is it only a manager level issue or maybe there are problems in how the team works ?
It is VERY difficult for work to provide your true meaning in life. 95% of software is personal preference. Most code will be thrown away when priorities change. Do the best you can and learn when you can. Management will always make poor decisions and are usually not interested in unfortunate truths. Work should only be what is required to gain money to pay for living.
The change has to be in you. Finding a hobby or raison dêtre makes waking up easy. Having something to look forward to is key. Once work is something to just finish changes everything. Respect your "you" time and turn off all notifications from work you can. Find something that does bring you joy and do that until it doesn't. Then search for a new thing. Too often we expect a brutal competitive job to also provide us peace and tranquility. They are best kept separated in my experience.
You have to be willing to let a job just be a job. No more, no less. Funnily enough, you'll often hear the same advice from older folks who own their own business. Even when the business is their own, they advise finding something else outside of the work to drive you.
The important thing is to have an invigorating activity you enjoy that is an outlet and not a chore. Work will always become a chore, that's why it's called work. Find that balance and you'll likely survive in the end.
I completely agree on letting a job just be a job. We are so much more than our work.
A phrase I was practicing a while ago was: "I am not my work, my family or my friends". I would repeat it a few times over and over. It helped me a lot to detach myself from my worries/expectations about work, friends and family.
I actually did a podcast on the exact same topic "You are not your Work, Family or Friends" that might be useful for someone: https://open.spotify.com/episode/5q1hAzjRCYkCEsLERvr1zE?si=Z...
Not sure if I'm going to find one for my whole life but whatever.
As long as it is ethical, doing the "right thing" is doing what you're paid to do. If that means, for example, ship code that you might not like or think is not perfect, that's fine. It's not your code.
Don't worry, if you're still coding at 50, you'll have learned that you are not your job. As Elsa says, Let it go.
When I was a junior, there was plenty of room to learn and screw things up without much risk. I had plenty of opportunities to write brand new software for any which purpose, and the possibility of advancement was really exciting.
The longer my career went on, the more my job became about fixing crap, fighting brittle tests, and trying to squeeze enough information out of the org so I could actually get my job done properly. Now that I'm a senior engineer making above the average income for the role, the only advancement left for me is to become a lead or staff engineer, neither of which I am at all suited for. In either case, it would be more of the same.
I'd have more to say, but I've got to hop on a pair programming call with someone. :)
I'm coming up on my second decade in the tech industry, and all I can say is you gotta find out what fills you up and do that outside of work like the others have said. I started out in the game industry thinking I had finally arrived, but quickly burned out and moved into web dev for most of my career.
I find working on pixel art, music, and tech in concert very fulfilling, but I don't think I could ever cede this to a company for marketing/support/etc. or turn it into some sort of income to pay my bills. Ultimately I set clear boundaries around work for delivering on my workload inside normal business hours and outside of that is fully my time.
Stress is good if there's a lion praying on you and you need to take immediate action to avoid being eaten. With this constant work stress it's like there's a lion nearby all the time. It's difficult to enjoy a dinner in a nice restaurant if you're about to be eaten by a lion. The brain doesn't distinguish stress caused by deadlines from stress caused by a deadly animal who can attack at any time.
You are the most important person in your life. Don't forget that. <3
That's what a friend told me once. However in reality it's usually not that simple because it's easy to make up excuses... It's not easy to be human.
I would suggest to get a therapist. Don't overthink it and don't search for the best one. Just find someone to share what you are going through. Sometimes it can be even a good friend. It will help you a lot to take this rock of your chest for now. I didn't try BetterHelp, but people talk good things about it and it might actually be the fastest way to reach a therapist depending on where you live. If you can't afford a therapist, I recommended in my article to try "Woebot Chat App". It really helped me when I didn't have the money to afford a therapist!
But this of course won't just fix your situation right away. You will need to change some things in your life. Sometimes even your identity in terms of who you are and what you do daily. Maybe change your environment, cut toxic friends, etc.
It's a long way, but trust me, there is light at the end of the tunnel. Even, if it sounds cliché!
Feel free to email me at: me@andreizgirvaci.com. Sometimes just sharing with someone what you are going through and knowing there are people who listen can make a very big difference!
Again, sending you much love! <3
> "You can join our waitlist now, to be the first one to know when the pre-sale begins"
Talking about FOMO anxiety then announcing a pre-sale discount to your anxiety course is a kind of a bad look.
Since my original post, I also included a disclaimer that people don't need to buy my program in order to overcome anxiety and what other things they can do that might help.
I hope it all makes it clearer now. Thanks for the feedback!
It makes me wonder a little bit. Does the author want to help the reader out of his good will or is it purely for profit (and a clever way of copywriting)? or is it both?
Say no to more things. Spend more time on finding out more about yourself. Start to understand your emotions around the constant trauma you're living through and have lived through.
You don't need to pay somebody $150 for this advice. Go pick up any well known book on stress, trauma, etc and it'll start to make sense.
Here's some to start:
- The Stress of Life
- The Body Keeps the Score
- When The Body Says No / The Myth of Normal
- The Drama of the Gifted Child
- The Courage to Be
- Awakening the Soul
You can also read ancient mythology, philosophy, or religious texts which will repeat familiar stories that help you ponder a deeper sense of purpose. There's many ways to get closer to your soul.
I picked up this book around the same time I started seeing a therapist for what I now understand was complex childhood trauma, and I couldn’t manage the content at the time. I dislike the term “triggered” to describe my experience, but the book was too much to handle until I had some more skills under my belt.
Coming back to it later was an enlightening experience.
By all means start reading this book. If you hit a wall, that’s an important signal and I’d consider seeing a therapist.
YMMV, etc.
Your advice is good but there's nothing wrong with getting a professional to help you if you have the means. I've made more progress in the last two years with a good therapist than in twenty years of reading self-help books.
It's hard to overstate how much a good mentor/coach can improve your progress in almost every endeavor.
Any suggestions how to find a good coach as a SWE? I have 8 YoE and was most recently a staff engineer at a small-ish startup, and the perspective that job gave me has kindled some thoughts about taking my career to the next level, but I feel like I need a little bit of guidance.
To find them a combination of: - Using search engines for "life coach" or "business coach" in your area
- Find people that you respect in your industry, reach out to them over twitter/linkedin/email/whatever, clearly stating you're looking for a coach, and if there is anyone they recommend.
After you find a few, I suggest just trying them out. Book some sessions and see how it goes. I use these criteria:
- Has worked with engineers in the past.
- Is able to clearly articulate boundaries and approach in the first session
- Willingness to test and measure. Understanding and appreciating the lean startup approach essentially.
- Is solution and goal oriented. Spending weeks/months talking about the problem without attempting solutions is a waste of everybodys time.
- With you can quickly develop a shared understanding of what success looks like.
- Can build a rapport with you, and you can build the trust required for total honesty.
I agree, you don't have to pay for my program $75-$150 to overcome Anxiety. You can totally do that with a Therapist or by yourself, which in my case was a combination of both, but also I went through some anxiety programs that gave me information that the Therapist didn't gave me at the time even when working with multiple ones.
I also believe I gave enough tools and practical tips in this article that someone can try and apply in their daily without paying me anything as I am happy to share with them for Free as long as it helps even 1 person. I also was doing that with my podcast while not charging anything. But, I can see your point of view tho!
In my case I took the second option. When I was younger I used to get stressed about not being able to implement what I thought was best in terms of code/design.
Now I just do what I'm told (at a very moderate pace) and focus my energy on my hobbies and family.
What if both of these are difficult? and how would you relinquish the desire?
One thing I still struggle with is being able to give myself downtime after work. I always feel the need to be progressing with something -- completing more video games, reading more books, or getting stronger at the gym. I'm not sure how best to deal with that feeling.
I’ve updated to the latest version, installed an lsp, written some plugins and commands for generating base classes and imports. I even run the tests automatically on file changes, terminal window about 1/4 of the screen (the other 3/4 is sublime), and now it’s a joy to write code. I no longer get frustrated writing even a simple line. Now I get immediate feedback when typing (from the lsp) and get (almost) immediate results when saving a file, (by having the tests run automatically). When I have to create a file, I have commands for most cases and when I don’t I have snippets that make it a breeze. It’s now actually enjoyable.
As I grew older, and realized that enthusiasm is unsustainable. Something that halped me is prioritizing excercise and mindfulness for a short period of time in the day. It was such a great addition!
Are you on adderall? That can cause a brutal end of day crash.
The end of day crash was much worse without Adderall. I felt like I was trying to swim against a current all day long, and then I'd feel like I was drowning for the rest of the day (though the drowning sensation would usually start after just 2-3 hours of work). With Adderall I'm swimming with the current, or at least in still water. I don't feel like I'm drowning at the end of the day and I actually have energy for other things
Or become a freelancer, and switch jobs every two years or so. It isn't easy either way.
But there are other jobs where you would be a better fit, so I think you probably should switch jobs, and avoid the risk of getting burned out.
There where you are currently at, it's not going to get any better, right?
Did I miss the link to this youtube video?
This is why lowering your caffeine intake is often at the top of the list to reduce stress. It actively raises cortisol, but this can be a good thing if you aren't chronically stressed. If you are chronically stressed, then you need to lower/avoid caffeine.
If you can lower your cortisol to normal levels, you can react much better to the situation you're in. I personally use Ashwagandha to do this, and I don't take it habitually, only when my stress levels are uncomfortably high. There may be another supplement that works better for you, or even something like going for walks. The point is to do something about high cortisol levels.
I prefer to drink coffee occasionally and for daily, I would choose a green tea or something like Chamomile, does wonders!
Byungchul Han is what’s been saving me - almost like philosophical therapy. has helped me to realize the societal origins of a lot of the expectations i inflict on myself
hope his frameworks might help others!
I am not one to immediately recommend anti-depressants, and will be looking to wean myself off in the future, but in my current state I have found it extremely beneficial.
I've had friends that have hated the side effects or not seen much benefit, who stopped. And I've had friends who've start and it's like a cloud has lifted - described as the best decision of their life.
Personally, I learned from my experiments that I can eat Lexapro like candy (not literally, but you get the drift) and it doesn't do anything for me, but Prozac, Wellbutrin, and Effexor have been good to me. IIRC, response rates overall to antidepressant medications are in the 40-50% range, so you might get lucky and find your wonder drug on the first try, or you might have to try more than one. Failing an antidepressant trial can certainly be a frustrating experience, but I would certainly advise anyone who asked to commit to trying up to 3 different antidepressants before throwing in the towel on these medications entirely.
Sometimes death feels like it would be the ultimate and most restful nap.
Ah, there it is.
The sales pitch negates the entire write-up. The program's not even ready so you're just collecting e-mails at this point.
This is anxiety we're talking about. Offering "early bird pricing" and some "free goodies" ? What the hell.
Edit: On top of that, you aren't even a licensed professional. What happens if you come across someone who you couldn't help and then he/she offs themselves because it was too much.
At first I was dismissive of your message and I didn't see your true intention behind it. I have taken some of your feedback and made some changes to the copy. I believe emojis and some words weren't really fit...
EDIT: I also, included a disclaimer that people don't need to buy my program in order to overcome anxiety. I assumed it was clear in the article, but I guess not, so I added that too. Hope it helps :)
Thanks again, have a good one!
Currently I don't have enough time for life: I'm tired after work, one of the weekends is a chore day (catching up on life stuff), when do I live? Stress.
I am the kind of person who doesn't care much for "exercise" per se. I get bored with it. The thing that gets me up to see the sun and get some exercise is my dog. Having a dog has many research-proven mental and physical health benefits. For myself, I can say that I benefit so much from having a dog that I just don't see myself ever not having one.
Of course, not everybody can have a dog, so this is not really general advice. But, if it even sounds like it might be a good idea to someone, I'd encourage that person to look into getting a furry friend. :)
And security vendors promise the moon and stars and then later it's all "you have to tune it" gee thanks for the hundreds of alerts I have to "tune" while still working with 30+ other tools that we've been trying to tune.
Am I bitter? Yes.
Hard pass.