The most recommended computer programming books

Who picked these books? Meet our 27 experts.

27 authors created a book list connected to computer programming, and here are their favorite computer programming books.
Shepherd is reader supported. When you buy books, we may earn an affiliate commission.

What type of computer programming book?

Loading...
Loading...

Book cover of JavaScript: The Good Parts: The Good Parts

Jeff Langr Author Of Modern C++ Programming with Test-Driven Development: Code Better, Sleep Better

From my list on doing it right in your programming language.

Why am I passionate about this?

I love computer programming books almost as much as I love computer programming. As a high school student in 1980 I remember typing in really frustrating source code from the book BASIC Computer Games. Was programming meant to be a black art? Was code supposed to be an impenetrable mess of buried intent? When I started getting paid to program, I was happy to see that the answer to both questions was "no." I began to seek and enjoy books that espoused the "right" way to code in a given language. Here is a handful of books that have helped me and countless others learn to produce correct, clear, and maintainable code.

Jeff's book list on doing it right in your programming language

Jeff Langr Why did Jeff love this book?

During my first few weeks of JavaScript coding, I encountered what seemed to be an endless number of head-scratching moments: "I'm slowly reading the few lines of code I just wrote, it seems fine, so why isn't it doing what it looks like it should be doing?" Even more insidious at times than C++, JavaScript contains a number of fairly clever constructs, including things like hoisting, duck typing, and a loosey-goosey argument passing mechanism. This concise tome of fewer than 175 pages helped get me past those first few months, and as an author-stated goal, it helped me "learn to think in JavaScript."

By Douglas Crockford,

Why should I read it?

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

What is this book about?

Most programming languages contain good and bad parts, but JavaScript has more than its share of the bad, having been developed and released in a hurry before it could be refined. This authoritative book scrapes away these bad features to reveal a subset of JavaScript that's more reliable, readable, and maintainable than the language as a whole-a subset you can use to create truly extensible and efficient code. Considered the JavaScript expert by many people in the development community, author Douglas Crockford identifies the abundance of good ideas that make JavaScript an outstanding object-oriented programming language-ideas such as functions, loose…


Book cover of The Art of Computer Programming

Federico Kereki Author Of Mastering JavaScript Functional Programming: Write clean, robust, and maintainable web and server code using functional JavaScript and TypeScript

From my list on the theory and practice of computer programming.

Why am I passionate about this?

I have been working with computers for decades now – having started with programmable handheld calculators and working my way up and down through mainframes, mini- and micro-computers. I always thought there is an art to writing software, and that good software can be read and admired. Maintainability, readability, and testability are some core needs for software, and after going through many programming paradigms, I feel that functional programming (FP) is the way to go – and several modern web frameworks agree. JavaScript (and now, TypeScript) are essential to web development, and I wanted to show how FP could be successfully used with those languages, and thus my book.

Federico's book list on the theory and practice of computer programming

Federico Kereki Why did Federico love this book?

This multi-volume book is, for me, a masterpiece that goes far beyond just coding or algorithms or data structures, and serves as a profound exploration of algorithmic thinking and computer science's theoretical foundations, going deeply into the performance of algorithms and the behavior of data structures.

Knuth's meticulous approach, coupled with his clear and engaging prose (with occasional touches of humor) clearly explains complex concepts, and shows a deep understanding of the artistry inherent in solving computational problems.

Bill Gates said that anybody who went through all its volumes would get a job at his company, and I surely agree! I would recommend this book both for novice or seasoned programmers, because you will always find invaluable insights in it.

By Donald Knuth,

Why should I read it?

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

What is this book about?

Check out the boxed set that brings together Volumes 1 - 4B in one elegant case.

The Art of Computer Programming, Volumes 1-4B Boxed Set

ISBN: 9780137935109

Art of Computer Programming, Volume 1, Fascicle 1, The: MMIX -- A RISC Computer for the New Millennium

This multivolume work on the analysis of algorithms has long been recognized as the definitive description of classical computer science. The three complete volumes published to date already comprise a unique and invaluable resource in programming theory and practice. Countless readers have spoken about the profound personal influence of Knuth's writings. Scientists have marveled at…


Book cover of Programming the Universe: A Quantum Computer Scientist Takes on the Cosmos

Michael G. Raymer Author Of Quantum Physics: What Everyone Needs to Know

From my list on quantum physics and quantum technology for beginners.

Why am I passionate about this?

I am a professor of physics, passionate about researching physics and inspiring non-scientists to enjoy learning about physics. My research addresses how to use quantum physics to accelerate the development of quantum information science including quantum computing, quantum communications, and quantum measurement. My current projects are in developing quantum satellite communications, increasing the precision of telescopes, and constructing a quantum version of the Internet—the Quantum Internet. These topics revolve around quantum optics—the study of how light interacts with matter. I originated the idea of a National Quantum Initiative and lobbied the U.S. Congress to pass it into law, resulting in large investments in the new, exciting field of quantum technology.

Michael's book list on quantum physics and quantum technology for beginners

Michael G. Raymer Why did Michael love this book?

Now we are getting to the modern era, where physics meets computing in ways never dreamed of by the founders of quantum physics. Seth Lloyd is a professor at MIT and one of the first to prove that quantum theory admits the possibility of building computers on wholly quantum foundations. He is also one of the most creative and engaging writers on the subject. His main message is that information is the basis of all things physical. From quantum bits or qubits to cosmology, this book has it all, and is written in a highly accessible way. Not a single equation can be found. 

By Seth Lloyd,

Why should I read it?

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

What is this book about?

IN THE BEGINNING WAS THE BIT...

The universe is made of bits of information and it has been known for more than a century that every piece of the the universe - every electron, atom and molecule - registers these bits and that information. It is only in the last years, however, with the discovery and development of quantum computers, that scientists have gained a fundamental understanding of just how that information is registered and processed.

Building on recent breakthroughs in quantum computation, Seth Lloyd shows how the universe itself is a giant computer. Every atom and elementary particle stores…


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 Hello World! A Complete Python-Based Computer Programming Tutorial with Fun Illustrations, Examples, and Hand-On Exercises.

Daniel Zingaro Author Of Learn to Code by Solving Problems: A Python Programming Primer

From my list on for a rock solid python programming foundation.

Why am I passionate about this?

Some programmers learn through online articles, videos, and blog posts. Not me. I need a throughline—a consistent, expert distillation of the material to take me from where I am to where I want to be. I am not good at patching together information from disparate sources. I need a great book. I have a PhD in computer science education, and I want to know what helps people learn. More importantly, I want to know how we can use such discoveries to write more effective books. The books I appreciate most are those that demonstrate not only mastery of the subject matter but also mastery of teaching.

Daniel's book list on for a rock solid python programming foundation

Daniel Zingaro Why did Daniel love this book?

I’m a kid at heart. (My favourite book genre is middle grade fiction.) Don’t be put off by a book with "kids" in the subtitle. And what an ebullient book this is! I unapologetically laugh at this book’s humour. I like the short chapters with measurable progress in each one; I like the easy GUI programming to get us started; I like the computational study of probability and randomness. I could quibble over the order that some topics are introduced, and some of the forward references… but, you know what? I won’t. This author duo gets it. Bonus feature: that sneaky way of introducing mutability in Chapter 2. Bonus feature #2: SkiFree.

By Warren Sande, Carter Sande,

Why should I read it?

1 author picked Hello World! A Complete Python-Based Computer Programming Tutorial with Fun Illustrations, Examples, and Hand-On Exercises. as one of their favorite books, and they share why you should read it.

What is this book about?

Hello World! Third Edition is a fun, easy-to-use guide with copious illustrations and engaging examples. It takes the reader on a playful tour of basic programming concepts and then puts those concepts together to make fun and useful programs. It uses Python, a programming language that is one of the easiest to read, write, and understand. Like the previous two editions, Hello World! Third Edition is not just for kids. While the tone is light and engaging, it doesn't "talk down" to the reader, and beginners of any age will love its readability and sense of humor. Written by Warren…


Book cover of Practices of the Python Pro

Naomi R. Ceder Author Of The Quick Python Book

From my list on to level up your Python skills.

Why am I passionate about this?

I’ve been teaching and writing Python code (and managing others while they write Python code) for over 20 years. After all that time Python is still my tool of choice, and many times Python is the key part of how I explore and think about problems. My experience as a teacher also has prompted me to dig in and look for the simplest way of understanding and explaining the elegant way that Python features fit together. 

Naomi's book list on to level up your Python skills

Naomi R. Ceder Why did Naomi love this book?

Dane covers the more advanced topics a programmer needs to be successful as a professional. In particular, he has good discussions of the basics of software design – things like separation of concerns, encapsulation, testing, and performance, as well as some of the issues involved with creating and maintaining large-scale systems. This is the book that I wish I’d had early in my coding career. 

By Dane Hillard,

Why should I read it?

1 author picked Practices of the Python Pro as one of their favorite books, and they share why you should read it.

What is this book about?

Summary
Professional developers know the many benefits of writing application code that’s clean, well-organized, and easy to maintain. By learning and following established patterns and best practices, you can take your code and your career to a new level.
With Practices of the Python Pro, you’ll learn to design professional-level, clean, easily maintainable software at scale using the incredibly popular programming language, Python. You’ll find easy-to-grok examples that use pseudocode and Python to introduce software development best practices, along with dozens of instantly useful techniques that will help you code like a pro.

Purchase of the print book includes a…


Book cover of Emmy in the Key of Code

Jennifer Gennari Author Of Muffled

From my list on middle-grade about kids making music.

Why am I passionate about this?

In fifth grade, I chose to play the clarinet. After a lot of cracked reeds and squeaky notes, I switched to choir. I still love to sing! I love books that explore young people’s first experiences with music, whether it’s as a star or as a way to express one’s true self. Music takes many forms, and for me, that includes the arrangement of sounds in a sentence. When I write for young people, I look for the musicality of words, how they flow, and how variety can make a story pop. Try reading aloud your own work or a favorite book and listen to the rhythm of language.

Jennifer's book list on middle-grade about kids making music

Jennifer Gennari Why did Jennifer love this book?

My last choice is about a musical girl who finds a very different kind of “instrument” to play!

Twelve-year-old Emmy just moved from Wisconsin to San Francisco for her dad’s big break as a pianist. Emmy wants to be a musician, too, but can’t find the right instrument to play (I can relate!).

Notes and classical terms are in her head, but not her fingers in this novel-in-verse. Instead of music as an elective, Emmy ends up in computer science and makes friends with a quiet girl named Abigail.

Emmy learns java script, and the reader learns along with her. In the end, Emmy finds a way to make her own kind of music through computer coding.

By Aimee Lucido,

Why should I read it?

2 authors picked Emmy in the Key of Code as one of their favorite books, and they share why you should read it. This book is for kids age 10, 11, 12, and 13.

What is this book about?

In this innovative middle grade novel, coding and music take center stage as new girl Emmy tries to find her place in a new school. Perfect for fans of the Girls Who Code series and The Crossover.

In a new city, at a new school, twelve-year-old Emmy has never felt more out of tune.

Things start to look up when she takes her first coding class, unexpectedly connecting with the material—and Abigail, a new friend—through a shared language: music. But when Emmy gets bad news about their computer teacher, and finds out Abigail isn’t being entirely honest about their friendship,…


Book cover of Masters of Doom: How Two Guys Created an Empire and Transformed Pop Culture

Étienne Garbugli Author Of Lean B2B: Build Products Businesses Want

From Étienne's 3 favorite reads in 2023.

Why am I passionate about this?

Author Startup expert Entrepreneur Customer reserach expert

Étienne's 3 favorite reads in 2023

Étienne Garbugli Why did Étienne love this book?

Masters of Doom perfectly captures the scrappiness of software entrepreneurship in the early 90s.

It takes the readers on a fascinating journey of rags to riches through the early days of computer gaming. Along the way, readers learn about innovation, creativity, leadership, tech, crazy work ethics, and carving a unique path in the industry.

By David Kushner,

Why should I read it?

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

What is this book about?

Masters of Doom is the true inside story of the Lennon and McCartney of the video game industry: John Carmack and John Romero. Together they created an empire, ruled a multibillion-dollar industry, and provoked a national controversy. They lived a unique American dream, escaping their broken homes to co-create the most innovative and notoriously successful video games in history - Doom and Quake - until the games they made tore them apart.

David Kushner has been covering the video game industry for ten years and knows all the angles. Even those with no interest in video games will be fascinated…


Book cover of Land Of Lisp: Learn to Program in Lisp, One Game at a Time!

Philipp Fehre Author Of JavaScript Domain-Driven Design

From my list on learning from programming classics.

Why am I passionate about this?

Computers have fascinated me since my childhood, having fond memories of my dad's ZX81, but even so I played around I was never truly captured by the programming until I recognized it as a way of writing rather than raw engineering. Through my studies of media sciences I found my fascination with how language can shape perception, and through my work in developer advocacy, I found how communities are shaped as well. Now I am fascinated with how different programming languages can shape thinking, having had the opportunity to solve problems at large companies in nonmainstream languages.

Philipp's book list on learning from programming classics

Philipp Fehre Why did Philipp love this book?

Lisp will always have a special place in my brain, not language can be as expressive and molded to what the programmer wants to do in my opinion.

Learning a programming language can be a bit dry, but not in the case of Land of Lisp, honestly I just found this book to be fun from beginning to end, and even so I was already familiar with Lisp before reading it I actually followed all the way through not skipping a page.

Yes Lisp is hardly in use these days, but if you know it you will find its concepts popping up all over the place and this is why knowing it is so useful.

By Conrad Barski,

Why should I read it?

1 author picked Land Of Lisp as one of their favorite books, and they share why you should read it.

What is this book about?

Lisp has been hailed as the world s most powerful programming language, but its cryptic syntax and academic reputation can be enough to scare off even experienced programmers. Those dark days are finally over Land of Lisp brings the power of functional programming to the people! With his brilliantly quirky comics and out-of-this-world games, longtime Lisper Conrad Barski teaches you the mysteries of Common Lisp. You ll start with the basics, like list manipulation, I/O, and recursion, then move on to more complex topics like macros, higher order programming, and domain-specific languages. Then, when your brain overheats, you can kick…


Book cover of The Clean Coder: A Code of Conduct for Professional Programmers

Jesse Liberty Author Of Git for Programmers: Master Git for effective implementation of version control for your programming projects

From my list on for creating great software.

Why am I passionate about this?

I have been coding for over 30 years. I’ve seen some miserable interfaces, and some large programs that collapse under their own weight. Software was, at one point, notorious for being late, over budget, and unreliable. These books have helped turn the corner on these failings, and I have found each of them very valuable in my day-to-day programming. While you can learn technique and even languages online, the kind of insight found in these books is rare and worth spending time and money on.

Jesse's book list on for creating great software

Jesse Liberty Why did Jesse love this book?

Robert (Uncle Bob) Martin is the recognized go-to person for books on creating quality code. This is the first in a series of books that include The Clean Coder, Clean Architecture, and a number more. His advice and guidance in Clean Code have made a significant difference in my personal coding habits and best practices. This is an indispensable book for all programmers, no matter what they are coding or how much experience they have

By Robert C. Martin,

Why should I read it?

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

What is this book about?

Programmers who endure and succeed amidst swirling uncertainty and nonstop pressure share a common attribute: They care deeply about the practice of creating software. They treat it as a craft. They are professionals.



In The Clean Coder: A Code of Conduct for Professional Programmers, legendary software expert Robert C. Martin introduces the disciplines, techniques, tools, and practices of true software craftsmanship. This book is packed with practical advice-about everything from estimating and coding to refactoring and testing. It covers much more than technique: It is about attitude. Martin shows how to approach software development with honor, self-respect, and pride; work…