I think you've got the right end of the stick, with one detail missing: yes, there weren't any computer classes in the 1970s/80s. But in some fee-paying schools in England, there were computers around, like BBC Micros.
Thus a few pupils learnt how to program without interference from teachers.
Thus a few pupils learnt how to program without interference from teachers.