I work at a small company where I am the currently the sole developer. I am planning to leave on a certain date in the near future, and do not wish to reveal this information to my management until absolutely necessary.
I approached my boss about hiring a junior developer, who I planned would grow to replace me when I leave, but due to budgetary restrictions the company is unable to provide more than a below-average salary for the junior position. Because of this, we are not able to find a candidate who would be able to quickly take on my responsibilities.
I am also the only person in the company that would be qualified to interview a potential candidate.
To further complicate things, our company's clients rely on my work to meet their own deadlines and goals. I will thus be putting many people in a bad position if I suddenly depart without first training somebody on my project.
Given the circumstances, is it reasonable for me to leave without finding a replacement for my position?