We've tried the latter too but have not been even remotely as successful. The job requires some mental elasticity and they older developers we tried it with were a bit too set in their ways. It didn't make sense given the market since at least here older developers are pretty well employed so the salary is still high.