by codeonfire · 9y ago · 0 comments
There's two main reasons why this might be the case.
The first is because you're actually not very good. Great code can be worked on by someone else, which means if you not easily replaceable then it's because your code isn't easily accessible to other developers or there's knowledge that you haven't documented properly. In this case any competent employer should readily accept your resignation.
The alternative is because you're the absolute best your employer can get for what you're paid. You could be amazing but there's always someone better if the employer is willing to write a bigger check. They could replace you with a team of 20 if they're willing to pay enough. In which case your employer has to choose whether to agree to your terms to keep you or to pay more and get someone who'll agree to their terms. Never underestimate how much an employer will pay to get their way.
No matter how good your code is it would be impossible that someone can hit the ground running right away. Meanwhile there are deadlines to meet.
Deadlines can be moved. Resources can be allocated to projects to account for unforeseen events. Penalty payments can be paid. It's definitely not ideal but often established businesses can cope with someone leaving unexpectedly. It can kill a startup, but so can most things.
What I'm saying is that you shouldn't be too surprised if a threat to leave is met with "Oh. That's a shame, but nevermind. Bye." You may feel you have a great deal of power over your employer because you see your role as important or even critical to the business, but they might see your role very differently.
Be very diligent about communicating! You can easily get forgotten in a larger effort.
The grass sure looks greener on the other side, but unless you work for some truly heartless pond scum, you'll find a lot in common between any two employers.
This isn't always possible, but it has ended up with my last two employers being some of the best I ever had.