{
    "slug": "programming-books",
    "name": "Programming books",
    "title": "Best Programming Books in 2026",
    "category": "books",
    "filter": null,
    "available_filters": [
        "free",
        "pdf",
        "epub",
        "kindle"
    ],
    "page": "https://listme.name/best/programming-books",
    "json": "https://listme.name/api/v1/lists/programming-books.json",
    "updated": "2026-10-10",
    "intro": "Programming books split by goal: learning a first language, understanding how languages and interpreters work, or building better software over a career. This ranking weighs teaching quality and depth first, then free access and currency. Books that can be read free online are called out where they apply.",
    "criteria": [
        "Teaching clarity",
        "Depth and accuracy of content",
        "Currency with current versions",
        "Free access and price",
        "Breadth beyond one language"
    ],
    "specs": [
        {
            "key": "level",
            "label": "Level",
            "type": "text"
        },
        {
            "key": "free_online",
            "label": "Free to read online",
            "type": "bool"
        },
        {
            "key": "latest_edition",
            "label": "Latest edition",
            "type": "text"
        },
        {
            "key": "focus",
            "label": "Main focus",
            "type": "text"
        }
    ],
    "how_to_choose": [
        {
            "point": "Starting from zero",
            "detail": "Think Python and Automate the Boring Stuff assume no prior programming, and both are free online."
        },
        {
            "point": "Learning a language",
            "detail": "Eloquent JavaScript, the Rust book and Think Python each teach one language in depth."
        },
        {
            "point": "Understanding languages",
            "detail": "SICP and Crafting Interpreters explain how interpreters work, which takes more time than a primer."
        },
        {
            "point": "Working as a developer",
            "detail": "The Pragmatic Programmer and Designing Data-Intensive Applications apply to any language and suit experienced engineers."
        }
    ],
    "faq": [
        {
            "q": "What is the best free programming book for beginners?",
            "a": "Think Python and Automate the Boring Stuff with Python are both free online and aimed at beginners. Eloquent JavaScript is also free and suits readers who want to learn web programming."
        },
        {
            "q": "Which programming book is official and free for Rust?",
            "a": "The Rust Programming Language is the official book for Rust, and its full text is free online. It assumes Rust 1.97.0 or later and tracks the current release."
        },
        {
            "q": "Which book explains how programming languages work?",
            "a": "Crafting Interpreters builds two interpreters step by step, and SICP teaches abstraction through Scheme. Both are free to read online, and both are demanding."
        },
        {
            "q": "Which programming book is best for working engineers?",
            "a": "Designing Data-Intensive Applications covers the trade-offs in data systems, and The Pragmatic Programmer covers habits and craft. Both are paid and sold in print or as ebooks."
        }
    ],
    "entries": [
        {
            "rank": 1,
            "score": 94,
            "verdict": "The strongest guide here to the trade-offs in data systems, covering replication, transactions and stream processing. It is paid and dense, so it suits engineers making design decisions rather than beginners.",
            "best_for": "Designing reliable data systems",
            "spec": {
                "level": "Intermediate",
                "free_online": false,
                "latest_edition": "Not stated on the book site",
                "focus": "Data systems design and trade-offs"
            },
            "product": {
                "slug": "designing-data-intensive-applications",
                "name": "Designing Data-Intensive Applications",
                "kind": "book",
                "website": "https://dataintensive.net/",
                "page": "https://listme.name/books/designing-data-intensive-applications",
                "tagline": "Martin Kleppmann's book on reliable, scalable and maintainable data systems",
                "summary": "Designing Data-Intensive Applications is an O'Reilly book by Martin Kleppmann about databases, replication, partitioning, transactions and stream processing. It explains the trade-offs behind data systems rather than one product. The author's site says the book is available in print and ebook formats from bookstores.",
                "author": "Martin Kleppmann",
                "formats": [
                    "print"
                ],
                "pricing": "paid",
                "price_note": "Print and ebook editions from bookstores; no free full text",
                "free_to_use": false,
                "open_source": false,
                "strengths": [
                    "Clear explanation of distributed data trade-offs",
                    "Focuses on concepts, not one database product",
                    "Covers storage, replication and stream processing"
                ],
                "limits": [
                    "Dense, long reading",
                    "No free online edition on the author's site"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false,
                "cover": "https://listme.name/assets/covers/designing-data-intensive-applications.webp"
            }
        },
        {
            "rank": 2,
            "score": 92.5,
            "verdict": "Language-neutral habits and craft advice for working developers, in print and ebook formats. It is paid, and its advice is general, so it ranks below the more technical books here for depth.",
            "best_for": "Working developers who want craft habits",
            "spec": {
                "level": "Intermediate",
                "free_online": false,
                "latest_edition": "20th anniversary edition",
                "focus": "Software craft and habits"
            },
            "product": {
                "slug": "the-pragmatic-programmer",
                "name": "The Pragmatic Programmer, 20th Anniversary Edition",
                "kind": "book",
                "website": "https://pragprog.com/titles/tpp20/the-pragmatic-programmer-20th-anniversary-edition/",
                "page": "https://listme.name/books/the-pragmatic-programmer",
                "tagline": "Practical software craft advice from David Thomas and Andrew Hunt",
                "summary": "The Pragmatic Programmer, 20th Anniversary Edition, is a book by David Thomas and Andrew Hunt, published by the Pragmatic Bookshelf. It collects practical advice on code quality, debugging, testing, automation and career habits for working developers. The publisher sells a paperback and PDF, EPUB and MOBI ebooks.",
                "author": "David Thomas and Andrew Hunt",
                "formats": [
                    "pdf",
                    "epub",
                    "kindle",
                    "print"
                ],
                "pricing": "paid",
                "price_note": "Paperback and ebook editions sold by the publisher",
                "free_to_use": false,
                "open_source": false,
                "strengths": [
                    "Language-neutral advice on software craft",
                    "Available as PDF, EPUB, MOBI and paperback",
                    "Short sections that are easy to reread"
                ],
                "limits": [
                    "Advice is general, with few code details",
                    "No free edition of the full text on the publisher site"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false,
                "cover": "https://listme.name/assets/covers/the-pragmatic-programmer.webp"
            }
        },
        {
            "rank": 3,
            "score": 91,
            "verdict": "A deep, free introduction to abstraction and interpreters, with the full text online. It uses Scheme and is demanding, so it ranks below the more approachable free books for beginners.",
            "best_for": "Deep study of abstraction and interpreters",
            "spec": {
                "level": "Advanced",
                "free_online": true,
                "latest_edition": "Second edition",
                "focus": "Abstraction and interpreters in Scheme"
            },
            "product": {
                "slug": "sicp",
                "name": "Structure and Interpretation of Computer Programs",
                "kind": "book",
                "website": "https://mitp-content-server.mit.edu/books/content/sectbyfn/books_pres_0/6515/sicp.zip/index.html",
                "page": "https://listme.name/books/sicp",
                "tagline": "MIT programming classic on abstraction and interpreters, with free full text",
                "summary": "Structure and Interpretation of Computer Programs is a textbook by Harold Abelson, Gerald Jay Sussman and Julie Sussman, published by MIT Press and known as the Wizard Book. It teaches abstraction, data and interpreters through Scheme. The companion site hosts the complete text in HTML for free.",
                "author": "Harold Abelson, Gerald Jay Sussman and Julie Sussman",
                "formats": [
                    "web"
                ],
                "pricing": "free",
                "price_note": "Full text free in HTML on the companion site",
                "free_to_use": true,
                "open_source": false,
                "strengths": [
                    "Full text free on the companion site",
                    "Teaches how interpreters and languages work",
                    "Clear view of abstraction and data"
                ],
                "limits": [
                    "Uses Scheme, not a mainstream industry language",
                    "Dense, with demanding exercises"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false,
                "cover": "https://listme.name/assets/covers/sicp.webp"
            }
        },
        {
            "rank": 4,
            "score": 90.5,
            "verdict": "A free, step-by-step build of two interpreters, with the full web edition at no cost. It is long and asks for a lot of code, which keeps it just below the top picks.",
            "best_for": "Building a language interpreter from scratch",
            "spec": {
                "level": "Intermediate",
                "free_online": true,
                "latest_edition": "Not stated on the book site",
                "focus": "Building programming language interpreters"
            },
            "product": {
                "slug": "crafting-interpreters",
                "name": "Crafting Interpreters",
                "kind": "book",
                "website": "https://craftinginterpreters.com/",
                "page": "https://listme.name/books/crafting-interpreters",
                "tagline": "Free web book on writing a programming language interpreter",
                "summary": "Crafting Interpreters is a book by Robert Nystrom that walks readers through building a full scripting language, from scanning and parsing to a bytecode virtual machine. The complete web version is free to read on the author's site. Print, eBook, PDF and EPUB editions are sold through the retailers the site lists.",
                "author": "Robert Nystrom",
                "formats": [
                    "web",
                    "pdf",
                    "epub",
                    "kindle",
                    "print"
                ],
                "pricing": "free",
                "price_note": "Full web edition free; print and ebook editions sold separately",
                "free_to_use": true,
                "open_source": false,
                "strengths": [
                    "Full book free on the web",
                    "Builds two interpreters step by step",
                    "Clear explanations of language internals"
                ],
                "limits": [
                    "Long, with a lot of code to write",
                    "Not a reference for any one language"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false,
                "cover": "https://listme.name/assets/covers/crafting-interpreters.webp"
            }
        },
        {
            "rank": 5,
            "score": 89.5,
            "verdict": "A free, conversational introduction to programming with JavaScript, with projects and exercise solutions. Its pace is slow for experienced developers, but the full text is free in several formats.",
            "best_for": "Learning JavaScript and programming for free",
            "spec": {
                "level": "Beginner",
                "free_online": true,
                "latest_edition": "4th edition, 2024",
                "focus": "Programming and JavaScript from first principles"
            },
            "product": {
                "slug": "eloquent-javascript",
                "name": "Eloquent JavaScript, 4th Edition",
                "kind": "book",
                "website": "https://eloquentjavascript.net/",
                "page": "https://listme.name/books/eloquent-javascript",
                "tagline": "Free introduction to programming and JavaScript, 4th edition",
                "summary": "Eloquent JavaScript, 4th edition, is a book by Marijn Haverbeke, dated 2024 on the author's site. It teaches programming from first principles with JavaScript in the browser and in Node.js. The site offers the book free to read online under a Creative Commons license, as PDF, EPUB and MOBI files, and as a paperback.",
                "author": "Marijn Haverbeke",
                "formats": [
                    "web",
                    "pdf",
                    "epub",
                    "kindle",
                    "print"
                ],
                "pricing": "free",
                "price_note": "Free to read online; paperback copy sold separately",
                "free_to_use": true,
                "open_source": false,
                "strengths": [
                    "Free online, with PDF, EPUB and MOBI copies",
                    "Projects in the browser and in Node.js",
                    "Code sandbox and exercise solutions online"
                ],
                "limits": [
                    "Slow pace for experienced developers",
                    "The paperback is separate from the free text"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false,
                "cover": "https://listme.name/assets/covers/eloquent-javascript.webp"
            }
        },
        {
            "rank": 6,
            "score": 89,
            "verdict": "A free, full-text guide to engineering practice at team and codebase scale, drawn from Google's own experience. It is less about programming technique than the craft books, so it ranks below The Pragmatic Programmer.",
            "best_for": "Engineering practice for large codebases",
            "spec": {
                "level": "Intermediate",
                "free_online": true,
                "latest_edition": "First edition, 2020",
                "focus": "Engineering practice for large codebases"
            },
            "product": {
                "slug": "software-engineering-at-google",
                "name": "Software Engineering at Google",
                "kind": "book",
                "website": "https://abseil.io/resources/swe-book",
                "page": "https://listme.name/books/software-engineering-at-google",
                "tagline": "Engineering practices for keeping a large codebase healthy",
                "summary": "Software Engineering at Google is a book curated by Titus Winters, Tom Manshreck and Hyrum Wright, published by O'Reilly in 2020. It describes the engineering practices Google uses to keep its codebase healthy, and the authors say it is not mainly about programming. A digital HTML edition is free on the Abseil site.",
                "developer": "O'Reilly Media",
                "author": "Titus Winters, Tom Manshreck and Hyrum Wright",
                "formats": [
                    "web",
                    "print"
                ],
                "pricing": "free",
                "price_note": "Free HTML edition on abseil.io; print from O'Reilly",
                "free_to_use": true,
                "open_source": false,
                "strengths": [
                    "Full HTML edition free to read",
                    "Covers engineering practice at codebase scale",
                    "Print edition available from O'Reilly"
                ],
                "limits": [
                    "Little on individual programming technique",
                    "Describes one company's practices, which may not fit small teams"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false,
                "cover": "https://listme.name/assets/covers/software-engineering-at-google.webp"
            }
        },
        {
            "rank": 7,
            "score": 88.5,
            "verdict": "Deep, practical coverage of idiomatic Python, with a second edition and extra online sections. It assumes working Python experience, so it suits developers rather than beginners.",
            "best_for": "Writing idiomatic Python code",
            "spec": {
                "level": "Intermediate",
                "free_online": false,
                "latest_edition": "2nd edition",
                "focus": "Idiomatic, effective Python code"
            },
            "product": {
                "slug": "fluent-python",
                "name": "Fluent Python",
                "kind": "book",
                "website": "https://www.fluentpython.com/",
                "page": "https://listme.name/books/fluent-python",
                "tagline": "Guide to writing clear, idiomatic Python in its second edition",
                "summary": "Fluent Python is a book by Luciano Ramalho, published by O'Reilly. Its second edition's companion site describes the book as a guide to clear, concise and effective Python programming, and it adds extra sections that did not fit in the book. The first edition appeared in 2015, and print editions are sold.",
                "developer": "O'Reilly Media",
                "author": "Luciano Ramalho",
                "formats": [
                    "print"
                ],
                "pricing": "paid",
                "price_note": "Print editions sold by O'Reilly and booksellers",
                "free_to_use": false,
                "open_source": false,
                "strengths": [
                    "Covers Python features in depth",
                    "Companion site adds extra sections",
                    "Second edition updates the material"
                ],
                "limits": [
                    "Assumes some Python experience",
                    "Long, at about 790 pages in 2015 editions"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false,
                "cover": "https://listme.name/assets/covers/fluent-python.webp"
            }
        },
        {
            "rank": 8,
            "score": 88,
            "verdict": "The official, free and current guide to Rust, with worked examples and offline access after installation. It covers one language only, which limits it to readers learning Rust.",
            "best_for": "Learning Rust with the official guide",
            "spec": {
                "level": "Beginner",
                "free_online": true,
                "latest_edition": "Updated for Rust 1.97",
                "focus": "The Rust language and ownership"
            },
            "product": {
                "slug": "rust-programming-language",
                "name": "The Rust Programming Language",
                "kind": "book",
                "website": "https://doc.rust-lang.org/book/",
                "page": "https://listme.name/books/rust-programming-language",
                "tagline": "Official free book that teaches the Rust language from first steps",
                "summary": "The Rust Programming Language is the official book for Rust, written by Steve Klabnik, Carol Nichols and Chris Krycho with contributions from the Rust community. The online version is free and tracks current Rust releases. It is also available offline with the Rust installation.",
                "author": "Steve Klabnik, Carol Nichols and Chris Krycho",
                "formats": [
                    "web"
                ],
                "pricing": "free",
                "price_note": "Free online and offline with the Rust installation",
                "free_to_use": true,
                "open_source": false,
                "strengths": [
                    "Official, free and kept current with Rust",
                    "Explains ownership with worked examples",
                    "Available offline after installation"
                ],
                "limits": [
                    "Tied to the current Rust toolchain versions",
                    "Covers Rust only, not general programming"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false,
                "cover": "https://listme.name/assets/covers/rust-programming-language.webp"
            }
        },
        {
            "rank": 9,
            "score": 86.5,
            "verdict": "A catalog of around seventy small, behavior-preserving refactorings, with a clear process and advice on testing. It is about improving existing code, so it complements The Pragmatic Programmer rather than replacing it.",
            "best_for": "Improving the design of existing code",
            "spec": {
                "level": "Intermediate",
                "free_online": false,
                "latest_edition": "2nd edition, 2018",
                "focus": "Improving code design in small, safe steps"
            },
            "product": {
                "slug": "refactoring",
                "name": "Refactoring: Improving the Design of Existing Code",
                "kind": "book",
                "website": "https://martinfowler.com/books/refactoring.html",
                "page": "https://listme.name/books/refactoring",
                "tagline": "Martin Fowler's catalog of small, safe changes to improve code design",
                "summary": "Refactoring: Improving the Design of Existing Code is a book by Martin Fowler with Kent Beck, and its second edition was published in 2018. It presents refactoring as small behavior-preserving changes and catalogs around seventy of them. The first edition came out in 1999.",
                "author": "Martin Fowler with Kent Beck",
                "formats": [
                    "print"
                ],
                "pricing": "paid",
                "price_note": "Print edition sold by booksellers; price varies by seller",
                "free_to_use": false,
                "open_source": false,
                "strengths": [
                    "Catalog of around seventy refactorings",
                    "Explains code smells and the role of testing",
                    "Small, behavior-preserving steps"
                ],
                "limits": [
                    "Focused on improving existing code, not new systems",
                    "Dense for readers who have not refactored before"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false,
                "cover": "https://listme.name/assets/covers/refactoring.webp"
            }
        },
        {
            "rank": 10,
            "score": 83.5,
            "verdict": "A free, short first book on Python for complete beginners, with exercises in each chapter. It covers the basics only, so readers move on to larger texts after it.",
            "best_for": "First Python book for beginners",
            "spec": {
                "level": "Beginner",
                "free_online": true,
                "latest_edition": "3rd edition",
                "focus": "Python for complete beginners"
            },
            "product": {
                "slug": "think-python",
                "name": "Think Python, 3rd Edition",
                "kind": "book",
                "website": "https://greenteapress.com/wp/think-python-3rd-edition/",
                "page": "https://listme.name/books/think-python",
                "tagline": "Free beginner's introduction to programming in Python by Allen B. Downey",
                "summary": "Think Python, 3rd edition, is a beginner's programming book by Allen B. Downey, published on his Green Tea Press site. The author offers the book free online, and print copies are sold through Bookshop.org and Amazon. It teaches Python through short chapters on functions, loops, data structures, classes and debugging.",
                "author": "Allen B. Downey",
                "formats": [
                    "web",
                    "print"
                ],
                "pricing": "free",
                "price_note": "Free to read online; print copies sold through retailers",
                "free_to_use": true,
                "open_source": false,
                "strengths": [
                    "Free to read online from the author",
                    "Short chapters with exercises",
                    "Written for complete beginners"
                ],
                "limits": [
                    "Limited coverage beyond the basics",
                    "Not a reference for the standard library"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false,
                "cover": "https://listme.name/assets/covers/think-python.webp"
            }
        },
        {
            "rank": 11,
            "score": 80.5,
            "verdict": "A free, practical book on scripting everyday tasks in Python, dated April 2025 by its publisher. It aims at task automation rather than software design, and its print and ebook copies are paid.",
            "best_for": "Automating office and file tasks in Python",
            "spec": {
                "level": "Beginner",
                "free_online": true,
                "latest_edition": "3rd edition, April 2025",
                "focus": "Python scripts for everyday tasks"
            },
            "product": {
                "slug": "automate-the-boring-stuff",
                "name": "Automate the Boring Stuff with Python, 3rd Edition",
                "kind": "book",
                "website": "https://automatetheboringstuff.com/",
                "page": "https://listme.name/books/automate-the-boring-stuff",
                "tagline": "Practical Python for automating files, spreadsheets, web tasks and email",
                "summary": "Automate the Boring Stuff with Python, 3rd Edition, is a book by Al Sweigart, published by No Starch Press in April 2025 with 672 pages. It teaches beginners to write Python scripts for files, spreadsheets, web scraping, PDFs and email. The author's site offers the book free to read under a Creative Commons license.",
                "author": "Al Sweigart",
                "formats": [
                    "web",
                    "pdf",
                    "epub",
                    "kindle",
                    "print"
                ],
                "pricing": "free",
                "price_note": "Free online under Creative Commons; print and ebook from No Starch",
                "free_to_use": true,
                "open_source": false,
                "strengths": [
                    "Free to read under a Creative Commons license",
                    "Practical projects for office and personal tasks",
                    "Current third edition from April 2025"
                ],
                "limits": [
                    "Beginner pace, light on software design",
                    "Print and ebook copies are paid"
                ],
                "checked": "2026-10-10",
                "connected_to_publisher": false,
                "cover": "https://listme.name/assets/covers/automate-the-boring-stuff.webp"
            }
        }
    ],
    "notes": [
        "Scores are editorial, 0 to 100. Entries with product.connected_to_publisher true are made by or connected to the publisher and receive a disclosed ranking lift: https://listme.name/methodology"
    ],
    "source": "https://listme.name",
    "license": "Free to read and cite with attribution to listme.name.",
    "docs": "https://listme.name/developers"
}