I work as a team lead in San Francisco and I have a problem. My younger developers don't stick around. I work in a smaller Engineering department and have to compete against huge internet companies for hires. I cannot compete on salary or technology, Google pays way more and plenty of others have more interesting technology stacks and development tasks. My approach to this has been to try to give my developers a path to the future. I do regular career development one-on-ones to identify what sort of things my developers are interested in doing, setting career development goals, and ending up with tasks for myself to steer their tasks more to the things they are interested in and providing training resources. I have also pushed, in what I thought was a judicious manner, for them to have greater ownership over areas of our systems. Finally, I do my utmost to publicly recognize their accomplishments.<p>Sadly, I continue to lose young devs. To a person, they say it isn't anything personal, they were happy with my leadership, but they didn't want to deal with the stress of my workplace or they had another opportunity they wished to pursue. I'm at my wits end, is this a fruitless desire on my part? Is there some secret sauce I am missing that would inspire my young devs to stay?
Unfortunately I don't have a direct answer for you on this. However, what does jump out at me from your description is that you describe a utopia environment where developers are guided on a path to their future, own their code, and are recognized for their achievements. Yet, in the next paragraph you state that one of the reasons they state for leaving is "stress of my workplace".<p>I don't know you, the company, or how you manage, but could the attention you are placing on "career development" and recognition of accomplishments be causing added stress or unwanted attention in the workplace? Maybe they want to come to work, do their job, and go home without this feeling that they are being forced into a specific career path or having to meet certain career development goals.<p>Anyway, just a thought. It was something that stood out from your description. On the other hand, unfortunately without being able offer competitive pay or technology, many developers may just use your company as a stepping stone. You could try talking to upper management or HR and throw the burden on them. It costs a company a lot more to continuously hire rather than just paying a competitive salary to begin with. Show management how competing more on salary could save on hiring costs.
It sounds like you're part of a larger organization; maybe they just shouldn't have an office in SF if they can't compete in any meaningful way.