72 books like Code

By Charles Petzold,

Here are 72 books that Code fans have personally recommended if you like Code. Shepherd is a community of 10,000+ authors and super readers sharing their favorite books with the world.

Shepherd is reader supported. When you buy books, we may earn an affiliate commission.

Book cover of Gödel, Escher, Bach: An Eternal Golden Braid

Dan Moller Author Of The Way of Bach: Three Years with the Man, the Music, and the Piano

From my list on Bach, music, and the piano.

Why am I passionate about this?

I’m a professor of philosophy at the University of Maryland interested in politics, ethics, and art. Philosophers are often unpopular loners who are passionate about their ideas, and so are musicians like Bach. When I teach Socrates and the trial that led to his death I can’t help but think of Bach, who was rejected from job after job in favor of mediocrities, and whose music was considered offensive by parishioners and obsolete by musicians by the end of his life. These figures endear themselves to me not just because of the ideas themselves, but because they had to fight so hard for what they believed in.

Dan's book list on Bach, music, and the piano

Dan Moller Why did Dan love this book?

This book picks up where Evening in the Palace of Reason leaves off, with Bach composing the Musical Offering on a horrible theme from King Frederick.

It explains canons and fugues, and thus helps you understand Bach’s work better, but it then goes on a safari through the intellectual landscape of ideas related to fugues–strange loops, self-similarity, recursion, and of course the guys in the title. It’s not for everyone, but if you like any two of logic, philosophy, or music, give this a try.

By Douglas R. Hofstadter,

Why should I read it?

13 authors picked Gödel, Escher, Bach as one of their favorite books, and they share why you should read it.

What is this book about?

Douglas Hofstadter's book is concerned directly with the nature of maps" or links between formal systems. However, according to Hofstadter, the formal system that underlies all mental activity transcends the system that supports it. If life can grow out of the formal chemical substrate of the cell, if consciousness can emerge out of a formal system of firing neurons, then so too will computers attain human intelligence. Goedel, Escher, Bach is a wonderful exploration of fascinating ideas at the heart of cognitive science: meaning, reduction, recursion, and much more.


Book cover of The Innovators

Alex Tapscott Author Of Web3: Charting the Internet's Next Economic and Cultural Frontier

From my list on technological innovation and what drives it.

Why am I passionate about this?

It was while on the job as an investment banker that I first heard about this new thing called Bitcoin, before the word "web3" entered the vernacular. Initially I was skeptical but curious. But I became convinced the underlying technology of blockchains was ushering in nothing short of a new internet. My father Don Tapscott and I agreed to collaborate on a major research initiative that became the international best-seller, Blockchain Revolution. Since then, I have traveled to 40 countries and seen first-hand how blockchain and now Web3 is changing the world, setting the stage for a new digital age. My new book charts a course for this coming transformation.

Alex's book list on technological innovation and what drives it

Alex Tapscott Why did Alex love this book?

In The Innovators, Walter Isaacson reminds us that “innovation occurs when ripe seeds fall on fertile ground.” Like the earth beneath our feet, we stand on stratum upon stratum of technological innovation, each with unique markers of its age.

Sometimes, the right idea, person, or group of people arrives at the right time to sow the seeds of something new. Isaacson explores how this phenomenon, teaching us how the collaboration of many individuals working across time and space helped usher in the first digital age in a highly readable survey of the main players and events.

As we stand on the brink of a second digital age, we would do well to search our history for lessons before stepping into the future.

By Walter Isaacson,

Why should I read it?

3 authors picked The Innovators as one of their favorite books, and they share why you should read it.

What is this book about?

Following his blockbuster biography of Steve Jobs, The Innovatorsis Walter Isaacson's story of the people who created the computer and the Internet. It is destined to be the standard history of the digital revolution and a guide to how innovation really works.

What talents allowed certain inventors and entrepreneurs to turn their disruptive ideas into realities? What led to their creative leaps? Why did some succeed and others fail?

In his exciting saga, Isaacson begins with Ada Lovelace, Lord Byron's daughter, who pioneered computer programming in the 1840s. He then explores the fascinating personalities that created our current digital revolution,…


Book cover of Clean Code: A Handbook of Agile Software Craftsmanship

John Z. Sonmez Author Of Soft Skills: The Software Developer's Life Manual

From my list on fun for software developers.

Why am I passionate about this?

I love to expand my knowledge and learn not just about new technologies, but how things work. I find it fascinating to dig deep into computer programming, technology concepts, and really geek out on things. That’s why I love software development or programming books that aren’t just about some technology and how to do something, but rather books that really make you think and teach you not just programming skills but critical thinking about problem-solving skills. As a software developer for over 15 years and a person who teaches software developers, I have learned that if someone isn’t entertained, they aren’t learning. That’s why I put together a list of fun, entertaining and useful books.

John's book list on fun for software developers

John Z. Sonmez Why did John love this book?

I love writing good clean code. There is something refreshing about writing or reading code that reads more like a book than some obscure instructions to a machine. This book goes into the details of how to write “clean code” and what makes it clean.

I felt like I learned so much about writing good code from reading this book about things that you are never really taught in school or on the job as a software developer.

I found so much of the book so interesting because I could use what I was learning right away to become a better programmer.

If you want to become a better programmer and are looking for a book that will entertain you and be fun along the way, I highly recommend Clean Code.

By Robert Martin,

Why should I read it?

1 author picked Clean Code as one of their favorite books, and they share why you should read it.

What is this book about?

Even bad code can function. But if code isn't clean, it can bring a development organization to its knees. Every year, countless hours and significant resources are lost because of poorly written code. But it doesn't have to be that way.

Noted software expert Robert C. Martin presents a revolutionary paradigm with Clean Code: A Handbook of Agile Software Craftsmanship. Martin has teamed up with his colleagues from Object Mentor to distill their best agile practice of cleaning code "on the fly" into a book that will instill within you the values of a software craftsman and make you a…


Book cover of Programming Pearls

John Z. Sonmez Author Of Soft Skills: The Software Developer's Life Manual

From my list on fun for software developers.

Why am I passionate about this?

I love to expand my knowledge and learn not just about new technologies, but how things work. I find it fascinating to dig deep into computer programming, technology concepts, and really geek out on things. That’s why I love software development or programming books that aren’t just about some technology and how to do something, but rather books that really make you think and teach you not just programming skills but critical thinking about problem-solving skills. As a software developer for over 15 years and a person who teaches software developers, I have learned that if someone isn’t entertained, they aren’t learning. That’s why I put together a list of fun, entertaining and useful books.

John's book list on fun for software developers

John Z. Sonmez Why did John love this book?

Even though this book is a bit older, I had a ton of fun doing the programming problems in this book. This book really makes you think outside the box as a programmer and try to solve various problems in different ways depending on what you are trying to optimize for.

I really learned a lot about not just solving a problem, but solving a problem for a specific set of goals. Overall it made me a better programmer and made me think more deeply about programming problems.

If you want to improve your problem-solving skills and have fun doing it, I would definitely recommend this book.

By Jon Bentley,

Why should I read it?

1 author picked Programming Pearls as one of their favorite books, and they share why you should read it.

What is this book about?

When programmers list their favourite books, Jon Bentley's collection of programming pearls is commonly included among the classics. Just as natural pearls grow from grains of sand that irritate oysters, programming pearls have grown from real problems that have irritated real programmers. With origins beyond solid engineering, in the realm of insight and creativity, Bentley's pearls offer unique and clever solutions to those nagging problems. Illustrated by programs designed as much for fun as for instruction, the book is filled with lucid and witty descriptions of practical programming techniques and fundamental design principles. It is not at all surprising that…


Book cover of The Imposter's Handbook: A CS Primer for Self-taught Developers

John Z. Sonmez Author Of Soft Skills: The Software Developer's Life Manual

From my list on fun for software developers.

Why am I passionate about this?

I love to expand my knowledge and learn not just about new technologies, but how things work. I find it fascinating to dig deep into computer programming, technology concepts, and really geek out on things. That’s why I love software development or programming books that aren’t just about some technology and how to do something, but rather books that really make you think and teach you not just programming skills but critical thinking about problem-solving skills. As a software developer for over 15 years and a person who teaches software developers, I have learned that if someone isn’t entertained, they aren’t learning. That’s why I put together a list of fun, entertaining and useful books.

John's book list on fun for software developers

John Z. Sonmez Why did John love this book?

Wow! This book is exactly what every programmer has always wanted to know or even felt guilty about not knowing and it’s all presented in an extremely simplified and fun way. 

This is one of those books where you get excited in the morning when you wake up because you know you are going to be able to read more in the book and you are hoping the book will never end.

It’s rare to find a big book that I enjoyed reading so much and felt so short. This book covers almost everything you ever wondered about computer science. After reading this book, I felt like I finally understood everything a programmer was supposed to know and I no longer felt that nagging feeling of being an imposter.

By Rob Conery,

Why should I read it?

1 author picked The Imposter's Handbook as one of their favorite books, and they share why you should read it.


Book cover of Chip War: The Fight for the World's Most Critical Technology

Darren McKee Author Of Uncontrollable: The Threat of Artificial Superintelligence and the Race to Save the World

From my list on understanding how AI will shape our lives.

Why am I passionate about this?

I'm an author, advisor, speaker, podcaster, and citizen concerned about humanity’s relationship with advanced artificial intelligence. After following developments in AI for many years, I noticed a disconnect between the rapid rate of progress in AI and the public’s understanding of what was happening. The AI issue affects everyone, so I want everyone to be empowered to learn more about how AI will have a large impact on their lives. As a senior policy advisor and a member of the Board of Advisors for Canada's leading safety and governance network, books such as these help me stay informed about the latest developments in advanced artificial intelligence. I hope my recommendations will help you to critically consider how humans should co-exist with this revolutionary technology.

Darren's book list on understanding how AI will shape our lives

Darren McKee Why did Darren love this book?

Whoever controls the computer chips controls the world?

Not quite, but computer chips are a critical ingredient in making the powerful AI systems that dominate the headlines, and there is a high-stakes global competition for the fastest and newest chips.

These chips are so difficult to design and make, yet so important, that the U.S. is overtly restricting China’s access through export controls, and China is not yet able to build its own.

Miller provides an excellent overview of the history and development of computer chips. The book provides detailed information about the key players and different countries involved, as well as the strengths and limitations, all the while remaining accessible. 

By Chris Miller,

Why should I read it?

4 authors picked Chip War as one of their favorite books, and they share why you should read it.

What is this book about?

***Winner of the Financial Times Business Book of the Year award***

'Pulse quickening. A nonfiction thriller - equal parts The China Syndrome and Mission Impossible' New York Times

An epic account of the decades-long battle to control the world's most critical resource-microchip technology

Power in the modern world - military, economic, geopolitical - is built on a foundation of computer chips. America has maintained its lead as a superpower because it has dominated advances in computer chips and all the technology that chips have enabled. (Virtually everything runs on chips: cars, phones, the stock market, even the electric grid.) Now…


Book cover of Computer Organization and Design RISC-V Edition: The Hardware Software Interface

Shimon Schocken Author Of The Elements of Computing Systems: Building a Modern Computer from First Principles

From my list on how computers work, and how they are built.

Why am I passionate about this?

As a computer science professor and educator, my teaching motto is Rigor and Vigor. I believe that the only way to learn something deeply, whether it's an abstract mathematical argument or a complex computer system – is building the thing from the ground up, from first principles. That's the rigor. The second requirement – vigor – comes from the need to make this learning experience captivating, rewarding, empowering. I spent much of my career developing books, courses, and games that help learn computer science and mathematics with gusto. I am pleased that this work has had an impact, and that it resonates with many students and self-learners around the world.

Shimon's book list on how computers work, and how they are built

Shimon Schocken Why did Shimon love this book?

Computer architectures have historically followed two paradigms: CISC (Complex Instruction Set Computing) and its later contender RISC (Reduced Instruction Set Computing).

RISC processors, which presently power most smartphones, tablets, and IoT devices, were pioneered by Cocke, and later by Patterson and Hennessy – all winners of the Turing Award. Patterson and Hennessy’s classical book series Computer Organization and Design became the go-to textbooks in many academic computer architecture courses.

When reading these books, I enjoy the direct connection with the architects of the systems described. And, I appreciate the numerous insights about compilation, systems, and engineering at large, and the generous and balanced comparisons with competing, non-RISC architectures.

By David A. Patterson, John L. Hennessy,

Why should I read it?

1 author picked Computer Organization and Design RISC-V Edition as one of their favorite books, and they share why you should read it.

What is this book about?

Computer Organization and Design RISC-V Edition: The Hardware Software Interface, Second Edition, the award-winning textbook from Patterson and Hennessy that is used by more than 40,000 students per year, continues to present the most comprehensive and readable introduction to this core computer science topic. This version of the book features the RISC-V open source instruction set architecture, the first open source architecture designed for use in modern computing environments such as cloud computing, mobile devices, and other embedded systems. Readers will enjoy an online companion website that provides advanced content for further study, appendices, glossary, references, links to software tools,…


Book cover of Computer Systems: A Programmer's Perspective

Shimon Schocken Author Of The Elements of Computing Systems: Building a Modern Computer from First Principles

From my list on how computers work, and how they are built.

Why am I passionate about this?

As a computer science professor and educator, my teaching motto is Rigor and Vigor. I believe that the only way to learn something deeply, whether it's an abstract mathematical argument or a complex computer system – is building the thing from the ground up, from first principles. That's the rigor. The second requirement – vigor – comes from the need to make this learning experience captivating, rewarding, empowering. I spent much of my career developing books, courses, and games that help learn computer science and mathematics with gusto. I am pleased that this work has had an impact, and that it resonates with many students and self-learners around the world.

Shimon's book list on how computers work, and how they are built

Shimon Schocken Why did Shimon love this book?

This weighty tome delves deep into the low-level working of computer programs.

This book is a great resource for professional programmers who work close to the machine in such fields as embedded software, cybersecurity, and device drivers. Assuming a basic knowledge of the C language, Bryant and O’Hallaron, two CMU professors, teach how to read and understand compiled code, how to optimize it for better performance, and how to avoid common pitfalls.

This is a hard-core technical book, written by engineers for engineers, in a dense style that is nonetheless accessible and practical. I like the numerous applied problems, each accompanied by a worked-out solution.

By Randal E. Bryant, David R. O'Hallaron,

Why should I read it?

1 author picked Computer Systems as one of their favorite books, and they share why you should read it.

What is this book about?

&>standalone product; MasteringEngineering (R) does not come packaged with this content. If you would like to purchase both the physical text and MasteringEngineering search for 0134123832 / 9780134123837 Computer Systems: A Programmer's Perspective plus MasteringEngineering with Pearson eText - Access Card Package, 3/e

Package consists of:

013409266X/9780134092669 Computer Systems: A Programmer's Perspective, 3/e 0134071921/9780134071923 MasteringEngineering with Pearson eText -- Standalone Access Card -- for Computer Systems: A Programmer's Perspective, 3/e

MasteringEngineering should only be purchased when required by an instructor.

For courses in Computer Science and Programming

Computer systems: A Programmer's Perspective explains the underlying elements common among all computer…


Book cover of Foundations of Cryptography: Volume 1, Basic Tools

Jean-Philippe Aumasson Author Of Serious Cryptography: A Practical Introduction to Modern Encryption

From my list on for cryptography apprentices.

Why am I passionate about this?

I started learning cryptography in the early 2000s with books borrowed from my university’s library, and with information I could find online. Since then I’ve practiced cryptography for 15 years in a variety of contexts: as an academic researcher, while working on my PhD; as a cryptography engineer for software and hardware pay-TV systems; as a consultant for private and public sector clients; as a vulnerability researcher in my spare time; as a code auditor for cryptography projects; as a start-up founder in the domain of IoT security; and as CSO (chief security officer) of a fintech start-up. I live in Lausanne, Switzerland, and besides crypto I enjoy literature, rock climbing, and playing classical guitar.

Jean-Philippe's book list on for cryptography apprentices

Jean-Philippe Aumasson Why did Jean-Philippe love this book?

If you want to compose or play music, you need to know some basic music theory: notes, scales, chords, and so on. Likewise, solid cryptography knowledge requires understanding its foundations: concepts such as one-way function, pseudorandom generators, computational hardness, secure encryption, and zero-knowledge proofs. Goldreich’s books are the best starting point for those who want to delve into cryptography theory.  

By Oded Goldreich,

Why should I read it?

1 author picked Foundations of Cryptography as one of their favorite books, and they share why you should read it.

What is this book about?

Cryptography is concerned with the conceptualization, definition and construction of computing systems that address security concerns. The design of cryptographic systems must be based on firm foundations. This book presents a rigorous and systematic treatment of the foundational issues: defining cryptographic tasks and solving new cryptographic problems using existing tools. It focuses on the basic mathematical tools: computational difficulty (one-way functions), pseudorandomness and zero-knowledge proofs. The emphasis is on the clarification of fundamental concepts and on demonstrating the feasibility of solving cryptographic problems, rather than on describing ad-hoc approaches. The book is suitable for use in a graduate course on…


Book cover of An Introduction to Information Theory

James V. Stone Author Of Information Theory: A Tutorial Introduction

From my list on information theory.

Why am I passionate about this?

My primary interest is in brain function. Because the principal job of the brain is to process information, it is necessary to define exactly what information is. For that, there is no substitute for Claude Shannon’s theory of information. This theory is not only quite remarkable in its own right, but it is essential for telecoms, computers, machine learning (and understanding brain function). I have written ten "tutorial introduction" books, on topics which vary from quantum mechanics to AI. In a parallel universe, I am still an Associate Professor at the University of Sheffield, England.

James' book list on information theory

James V. Stone Why did James love this book?

This is a more comprehensive and mathematically rigorous book than Pierce’s book. For the novice, it should be read-only after first reading Pierce’s more informal text. Due to its vintage, the layout is fairly cramped, but the content is impeccable. At almost 500 pages, it covers a huge amount of material. This was my main reference book on information theory for many years, but it now sits alongside more recent texts, like MacKay’s book (see below). It is also published by Dover, so it is reasonably priced.

By Fazlollah M. Reza,

Why should I read it?

1 author picked An Introduction to Information Theory as one of their favorite books, and they share why you should read it.

What is this book about?

Written for an engineering audience, this book has a threefold purpose: (1) to present elements of modern probability theory — discrete, continuous, and stochastic; (2) to present elements of information theory with emphasis on its basic roots in probability theory; and (3) to present elements of coding theory.
The emphasis throughout the book is on such basic concepts as sets, the probability measure associated with sets, sample space, random variables, information measure, and capacity. These concepts proceed from set theory to probability theory and then to information and coding theories. No formal prerequisites are required other than the usual undergraduate…


5 book lists we think you will like!

Interested in computers, computer programming, and algorithms?

10,000+ authors have recommended their favorite books and what they love about them. Browse their picks for the best books about computers, computer programming, and algorithms.

Computers Explore 28 books about computers
Computer Programming Explore 39 books about computer programming
Algorithms Explore 36 books about algorithms