> I cannot imagine how hard it must have been to learn how to program without the internet[.]
Personally, the hard part was getting good documentation, though my parents' 286 came with a manual on GW-BASIC, which was included. I also managed to procure some BASIC documentation at a garage sale.
Basically impossible to learn computer science, though, except by trial and error. I just did things ad hoc. Experience teaches you how not to do things, but slowly.