Code: The Hidden Language of Computer Hardware and Software by Charles Petzold
Tags: books, history, computerscience, watercooler
Published: 2020-07-08 06:03:58

_This article has been originally posted on my [blog](http://sandordargo.com/blog/2020/07/08/code-the-hidden-language). If you would like to receive my latest articles, please [sign up to my newsletter](http://eepurl.com/gvcv1j)._

If you have been reading my book reviews, you know that I like history. Recently I wrote about [Sapiens](http://sandordargo.com/blog/2020/06/17/sapiens-by-harari) and I quoted Churchill - you know the guy who pretty much led the fight against Nazis - saying that "a nation that forgets its history has no future". John Kennedy went more broadly when he wrote "without history, we have no future."

But what is our history as developers? What is the history of computer science?

There are some interesting sources, books, initiatives. Like there was the now seemingly (and sadly) inactive (as of July 2020) channel of [Byte Sized](https://dev.to/bytesized). A book that is not directly about our history, but touching some parts deeply was [Coders At Work](http://sandordargo.com/tags/#coders+at+work), a really long book including 16 interviews with highly appreciated computer scientists and programmers.

Recently, I found some references to [__Code: The Hidden Language of Computer Hardware and Software__](https://amzn.to/2YNvy1J) by [Charles Petzold](https://www.charlespetzold.com/). You might find some parts a bit old but it should not distract you. After all, it is about our history whether you use a few hundred MBs of RAM or 16 GB, it doesn't change the basic rules of how computer memory was invented and how it evolved. Whether you ride a TGV, a Shinkansen, or just a simple train it doesn't change the fact how we invented the steam engine and put it on wheels moving on rails.

This book doesn't only go back to the 1930s, but centuries. It starts laying down the foundations by analyzing the [Morse code](https://en.wikipedia.org/wiki/Morse_code), [the Braille alphabet](https://en.wikipedia.org/wiki/Braille), [the Boolean algebra](https://en.wikipedia.org/wiki/Boolean_algebra), the telegraphs. [_Code_](https://amzn.to/2YNvy1J) goes beyond just telling our history. What gives particular value to this book, it is that it doesn't just share how certain things evolved and got invented, it really tries to include not-so-techy people, the author tried his best to make everyone understand how the computer works.

That's why it really goes back to the basics. This, of course, requires a lot of topics, starting from the different numeral systems, how you can encode characters (Braille, Morse), how you can build simple relays, adders, and what physical limitations you hit while you try to scale these solutions. After all, it takes about 2/3s of the book to reach the topic of integrated circuits.

So why you should read this book? Because it gives you a much deeper understanding and appreciation of our field. If you learned a lot of CS - either at school or from books - you might be able to simply skim through certain chapters, but even so, it will put some events into context. Your PC/laptop will be less of a black box for you and you'll understand better the works of people such as [Shannon](https://en.wikipedia.org/wiki/Claude_Shannon), [von Neumann](https://en.wikipedia.org/wiki/John_von_Neumann) or even people working with potentially more low-level languages such as C/C++ not to mention Assembly.

You'll understand the difficulties behind building a full adder circuit, something most of us wouldn't be able to do these days - and can be a "tricky" interview question.

If you are not interested in what is inside the box if you just want things to work and don't care about whether you understand or not as long as it works, this book is not for you. But if you want to look behind the scenes, if you are interested in long-forgotten connections, decisions that influenced the way we work, even if it seemingly doesn't make sense now, [Code: The Hidden Language](https://amzn.to/2YNvy1J) is for you. And reading a relatively long book is a cheap price to pay for such a knowledge.

Happy reading!