I'd say the majority of my learning came from manuals [1] and books I either read in the library or bought [2][3a][3b][ca][3d].
The rest came from brute-force trial & error - which I don't think should be downplayed. As a child I had time and energy to just try stuff out, that repeated process of failing until succeeding probably gave me more insight than any online writings would today.
It's probably not that far from how I learn new things now. I might learn the basics of something online (a few key pointers) and then go and prototype and try until I'm happy it's sunk into my brain.
I see this as similar to the kind of constraints that music producers have. Whether it's an instrument they play, or the limited kit they have in a home studio. Being forced to learn the thing inside out, because of some arbitrary constraint, often leads to more creative use and a deeper understanding. Modern producers have access to thousands of plugins that replicate the old expensive gear. What happens is they drown in a sea of options, never really learning any one of them in any depth.
Back to the point, if a child wanted to learn programming (without social spaces) - then perhaps some online free-courses, good references sources, combined with the trial & error process I describe above, would be just as effective as the social-network approach? Who knows, it may even be more effective. I see a lot of junior engineers struggle with the basics - basics I taught myself in my teens.
I guess we'll never know, there are so many variables in this equation:
* Are there good non-social-space reference resources?
* Are the free courses good enough - and would they inspire a child to do them?
* Is the current landscape of technology so large that this approach wouldn't work?
I believe inspiration is the key to learning. On the first manual I read [1], after the pages for plugging the computer in:
* Page 10 - drawing lines and triangles on the screen
* Page 11 - making sounds
Before long I'm making a rocket fly up the screen. I'm instantly thinking "I can make a game", and that's it, I'm hooked...
[1] BBC Micro User Guide - https://stardot.org.uk/forums/download/file.php?id=91666
[2] BBC Micro Advanced User Guide - https://stardot.org.uk/mirrors/www.bbcdocs.com/filebase/esse...
[3a] RISC OS Programmers Reference Manual [Volume 1] - https://www.4corn.co.uk/archive/docs/RISC%20OS%20Programmer'...
[3b] RISC OS Programmers Reference Manual [Volume 2] - https://www.4corn.co.uk/archive/docs/RISC%20OS%20Programmer'...
[3c] RISC OS Programmers Reference Manual [Volume 3] - https://www.4corn.co.uk/archive/docs/RISC%20OS%20Programmer'...
[3d] RISC OS Programmers Reference Manual [Volume 4] - https://www.4corn.co.uk/archive/docs/RISC%20OS%20Programmer'...