My boss has always been happy with my performance as an engineer. He likes people to take ownership of their projects and always thanks me whenever I step outside of my direct area of responsibility to solve problems that would otherwise fester if left alone.
The main problems at work can really be boiled down to a lack of communication and collaboration between employees. Engineers and managers alike. I'm hopeful that the new PM will be able to help improve things where the other managers have failed.
As for me, I'm hopeful that I can communicate my desire to continue to have a role in technical leadership.
I would love to know, in hindsight: why did the company decide to replace you on something that you loved doing? Was this a case of under performance and the new person effectively performed much better than you, or something else?
I have been victim of being replaced on something that I loved doing and I was very passionate about (a couple times over my career), and to this day (years later) I still think I was hands down much better than the person I was replaced with at that task, under every aspect: pure delivery performance, communication, sticking to improvements that provided value, maniacal customer support when bugs arose. In other words, I deeply and truly cared, too much actually and fell under the trap you described as “own what you own” (it was a feature I actually patented while working under the company). For the other person, that piece was just “meh, another thing I have to work on and maintain”, which ended up being my attitude when I was moved to something else.
I’ve tried repeatedly to assess the situation from an objective point of view to see if my line of thinking missed some aspects which might have caused my removal, but I just couldn’t find any bias in my reasoning if not of clueless upper management.
A metaphor I use with management to prevent this from happening again is “I eat my broccoli so I get to eat my ice cream. Hiring someone to eat ice cream for me so I can focus on just broccoli might make intuitive sense to you, but will have a detrimental effect on me”
Sometimes it means that I wind up doing work I would rather delegate if I were being selfish, but for the most part, everyone benefits.
1) The new project was massively less interesting to me than the one I was solving (a completely different field with skills I didn’t possess - think moving from hardcore low level system scalability to designing a new type of UI widget, for example), and I tried to make that as clear as possible without undermining management or jeopardizing my job safety.
2) The project was just 80% completed, whereas I like bringing things to production myself, and handle all the maintenance and support. Especially the things that I design and lead from scratch.
I was livid. “We have a new guy... who doesn’t understand the product or our customers or our process... and I am supposed to answer to HIM now‽”
Some advice I wish I could go back 10 years and give myself:
1. “Own what you own” which is a variation of “choose which hill to die on”. If you feel like something is “yours” you will resent people coming in and fucking it up. If you conceptualize something as “theirs” you can feel good doing your best to make it better. Being a humble servant can feel bad, but it feels better than being fired for having angry outbursts (trust me on this one).
2. Understand your feelings well enough to talk about them. That might involve talk therapy. Modern CBT is really great.
3. Remember that anything you love can break your heart. And that is OK. Better than not loving what you do. Maybe it is time for the relationship to end? Maybe you can salvage it?
4. Think and talk in terms of both work/life balance and work-life balance. If having a diverse set of things to do at work is important to you (it is to me, but not everyone) tell the company this. Some people love to be heads down coders in one layer. Other people need to work across more layers. Some people like to do PM or architecture work in addition to coding. Your managers won’t know what you need if you don’t tell them, and you can’t tell them if you don’t understand it yourself. (See #2).
Good luck! You are not in this alone!