Usborne 1980s Computer Books
usborne.com
usborne.com
Thank you, BASIC!
What folks take for granted, without really knowing it, is that the MS-BASIC system was a rather early system with built in garbage collection.
Consider:
A$=“Hello “
B$=“world.”
FOR I=1 TO 10
A$=A$+B$
NEXT I
We just take for granted that this will just work, but there’s a bunch of junk created here that eventually needs to be cleaned up.This is in contrast to the HP style BASIC that used dimensioned strings. This was much simpler and just needed work buffers that were readily reused.
MS had some notoriety about bad performance when things got too tight. But it’s cool to know there was this nice little bit of tech buried in 8K of 6502 or 8080 from the late 70s.
https://en.wikipedia.org/wiki/HP_Time-Shared_BASIC#String_ha...
The key detail is that HP BASIC dimensions the individual strings, where MS does not. Since the HP strings have dimensions, they're constrained. Given a typical max length of 255, you can see a string expression being done with a 255 byte work buffer and, when complete, moved into the dimensioned space. So, in the end, there's just a work buffer and the string.
With MS, strings are just pointers to places in memory (for examples the static strings in the code). So it's a whole "malloc/free" thing with the strings, but if the work space fills up, you can compact the heap and move the variable string pointers. Different mechanic. Simple garbage collection, but it is garbage collection.
The requirement to actually type stuff in and debug them before seeing results is underrated in these days of trying things in the browser.
Usborne computer and coding books from the 1980s - https://news.ycombinator.com/item?id=32202822 - July 2022 (98 comments)
Classic Usborne Computer Science Books/Comics as PDFs - https://news.ycombinator.com/item?id=19679081 - April 2019 (21 comments)
Free Usborne Computer Programming books from the early 80s - https://news.ycombinator.com/item?id=13537871 - Feb 2017 (1 comment)
Usborne 1980s computer programming books for kids become free downloads - https://news.ycombinator.com/item?id=11051095 - Feb 2016 (37 comments)
Usborne 1980s Computer Books for Free - https://news.ycombinator.com/item?id=11044480 - Feb 2016 (1 comment)
I tried downloading "The Mystery Of Silver Mountain" book, and several pages in the listing part of the book appear to be blank (e.g. pages 18, 19, 20) when viewed with Preview on macOS. They display correctly in Windows 10 with Edge, and when viewed online (in Google Docs?)
I think it probably set me up with the kind of fascination to start doing electronics engineering over just software.
I now have to go get the rest of the books from them. They seem to be absolute gems that I’d like to have in dead tree format.
It's actually surprisingly hard to come across more than a few - now and again ebay has books, for example, but most people seem to hoard them (understandably) and lots have been damaged/tossed/lost of the years.
I have a small collection, but I expect it won't get much bigger even with my willingness to pay €40+ for some of those titles.
(Yes I could download the "missing" ones I want too, in PDF, but I'd rather have real copies to flick through, randomly.)
Usborne introduction to electronics: https://archive.org/details/usborneintroduct0000beas
Fun with electronics: https://archive.org/details/funwithelectroni0000mcph/mode/2u...
I still got a physical copy of it on my home office shelf. Not the same one I had as a kid mind you, because that one took a serious beating over the years. I looked for that book for years with only the memory of the general illustration style to guide me. One day about a decade ago I stumbled on it.
Love that these are freely available online as PDFs. That's freaking awesome!
EDIT
Ok, got to home page, change region in top left to english/us, then reopening the link let me see it.
I remember one of them being more about computers in general rather than programming and having this two page illustrated branching "flow chart" of a humourous choose your own adventure game. My first go at programming something from scratch was implementing that on a borrowed TRS-80 Model III before I finished saving up for my own computer (a ZX Spectrum later on). The code was just one long linear list of conditionals - Just PRINT, INPUT, IF/THEN, and GOTO. I'm not sure it even really used variables hehe.
There was another one on Computer Graphics too.
They hold up very well, TBH.
There’s a lot to learn from these about how to teach.
I sometimes contemplate modernizing it for a 3D printer and a raspberry pi. My kid is (I think) approaching the age where he might want to give it a try. I really wanted you with my dad, but we never had time.
"Computer Spacegames" and I think "Computer Battlegames" were actually the first programming books I ever read and used (QBasic on I wanna say DOS in probably 1994-95 or so?) along with "Computer Programming BASIC for Beginners".
They were also translated in French and quite popular.