Classic programming books ⌨️ 📚 available for free
Tags: basic, books, education, inspiration
Published: 2022-01-10 23:18:21

A few years ago, I wrote a blog post [reflecting on my time in tech](https://andypiper.medium.com/21-years-in-tech-d762810663ec). In it, I mentioned that my introduction to programming was with BBC BASIC on an Acorn Electron - and later, the Acorn Archimedes - in the 1980s.

Over the weekend, I [learned](https://www.pcgamer.com/usbornes-1980s-range-of-childrens-coding-books-released-as-free-pdfs/) that the publisher Usborne, known for their educational books for children, have made all of their 1980s coding books [available as free downloadable PDFs](https://usborne.com/gb/books/computer-and-coding-books).

I'm *really* excited about this! The 8-bit platforms I grew up on are long gone, although those of us into the retro tech scene keep on playing with them...

{% tweet 677840282495381504 %}

The books cover a whole range of topics, many of which are still very relevant today. One reason I've found languages like Python and, formerly, PHP so approachable is my foundation in BASIC. Even now, you can easily run emulators for the classic Spectrum, Commodore and BBC 8-bit computers of the past, and you can even run BASIC (and DOS) on today's microcontrollers [like the Raspberry Pi Pico](https://dev.to/andypiper/raspberry-pi-pico-getting-excited-about-the-smallest-things-km5). I’m looking forward to trying this out sometime soon. 

My particular favourites from the selection of books available, are the listings books, particularly *Computer Spy Games* and *Weird Computer Games* - I vividly remember those book covers, and typing in and playing games like Micropuzzle and Robospy.

![Book covers of Computer Spy Games and Weird Computer Games](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m8dzst1zkvq8ayxgeqom.png)

![The first page of the listing for the game Micropuzzle, from the Weird Computer Games book](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/itdl9ux48dh0dq6llwmu.png)

Just because these are from the 1980s and use BASIC, doesn't mean that the books are no longer interesting or useful. For me, the excitement is partly about nostalgia; but, a lot has changed since I read them, and I'm curious to see how I would write a similar piece of code in a modern language that I use today. It turns out that my friend [Matthew White](https://twitter.com/calanais) has already done this with one of the books, *Computer Spacegames*, and he has posted a JavaScript re-interpretation on GitHub.

{% github filscentia/spacegames no-readme %}

It is also fun to see what has NOT changed very much... the *Keyboards and Computer Music* book has a section on MIDI, for example. The *Experiments with Computers* book has a section on sensors (and soldering), which could be adapted to today's Arduino boards and other microcontrollers. Of course, you can [run BASIC on an Arduino](https://www.hackster.io/news/build-your-own-arduino-based-basic-computer-for-just-a-few-dollars-7f4fae398747), [too](https://hackaday.com/2011/08/28/basic-programming-on-an-arduino/). My good friend Les has a [great guide to using BASIC on today’s computers](https://bigl.es/tuesday-tooling-back-to-basics/), as well (apparently, he knew about these free books before I did, and I wasn’t paying enough attention to his blog…) 

Also, check out the excellent [@BBCMicrobot](https://twitter.com/bbcmicrobot/), to run BASIC programs from a Tweet - or [learn to write BASIC](https://www.bbcmicrobot.com/learn/index.html) on the web. Amazing stuff.

{% tweet 1468507735289335808 %}

If you’re looking for Raspberry Pi projects, there’s lots of good inspiration here. This is no surprise to me, since the creators of the Pi were heavily influenced by the same technology and era, and the Pi ecosystem strongly evokes the same spirit of discovery.

These books were part of my childhood and education (I'm self-taught in technology), and I'm so happy to find them all available to explore, all over again. Maybe you will enjoy them, too? Usborne also have a [current range of introductory programming books available](https://usborne.com/gb/books/browse-by-category/science-and-technology/computers-and-coding). 

---

💻 How did you learn to code? Any particular books that stand out in your memory? I'd love to talk about them, in the comments! ⬇️

---

Side-note: the books are PDFs hosted on Google Drive, and they are completely readable in Drive's built-in viewer... but for some reason, when I downloaded them to pull them into a collection in Apple Books, they rendered strangely in macOS Preview (vertically squashed images, with large bands of space in between). In case you see something similar, I was successful in using the `repair-pdf` tool [in this GitHub repo](https://github.com/jfilter/pdf-scripts) to "fix" the PDFs, to a format that worked in Preview and Books.