We used to hire explicitly to train junior engineers in the days before the dotcom boom.
Stock options which vested over 5 years were meant to make it worth everyone's time.