Esme
Well said.
Forty or so years ago I learnt to code, at school. Though I've always used the skills I learnt I didn't make IT my career, it's just been a sideline.
When I went off to uni many of the people I was at school with took the traditional route of an apprenticeship. These days they'd all be shunted off to uni, and probably not to be engineers. What likelihood that they'd build on the IT skills they developed at school to become software engineers?
FWIW one of the reasons that apprenticeships disappeared was that the beancounter culture came along. And beancounters would rather poach a trained engineer than spend years developing their own.
So they stopped training apprenticeships. And the good companies that wanted to train apprentices also stopped because the investment was being lost as expensively trained engineers were poached.