Can someone who has read both compare this to Code by Charles Petzold?
https://www.amazon.com/Code-Language-Computer-Developer-Prac...
https://www.amazon.com/Code-Language-Computer-Developer-Prac...
There's a bit of crossover insofar as Code uses relays to build an understanding of how digital logic works and has a few brief historical asides. Likewise The Switch provides a few brief technical explanations to help the non-expert reader along. But in general The Switch will not tell you much about how computers work and Code will not tell you much about where they came from.