Heuristics for choosing/writing good textbooks (see also here):

- Has exercises
- Exercises are interspersed in the text, not in large chunks (better at the end of sections, not just at the end of chapters).
- Solutions are available but difficult to access (in a separate book, or on the web), this reduces the urge to look the solution up if one is stuck.
- Of varying difficulty (I like the approach Concrete Mathematics takes: everything from trivial applications to research questions).
- I like it when difficulty is indicated, but it's also okay when it's said clearly in the beginning that exercises are not marked for difficulty (making them mystery boxes).

- Takes many angles
- Has
**figures**and**illustrations**. I don't think I've encountered a textbook with too many yet. (See Visual Complex Analysis for an example of doing this well.) - Has many
**examples**. I'm not sure yet about the advantage of recurring examples. Same point about amount as with figures. - Includes
**code**, if possible. It's cool if you tell me the equations for computing the likelihood ratio of a hypothesis & dataset, but it's even cooler if you give me some sample code I can use and extend along with it.

- Has
- Uses typography
- You can use
**boldface**and*italics*and underlining for reading comprehension, example here. - Use section headings and paragraphs liberally.
- Artificial Intelligence: A Modern Approach has one- to three-word side-notes describing the content of each paragraph. This is very good.
- Distinguish definitions, proofs, examples, case-studies, code, formulas &c.

- You can use
- Dependencies
- Define terms before they are used. (This is not a joke. Population Genetics uses the term "substitution" on p. 32 without defining it, and exercise 12-1 from Naive Set Theory depends on the axiom of regularity, but the book doesn't define it.)
- If the book has pre-requisites beyond what a high-schooler knows, a good textbook lists those pre-requisites and textbooks that teach them.

- Indicators
- Multiple editions are an indicator for quality.
- Ditto for multiple authors.

- A conversational and whimsy style can be nice, but shouldn't be overdone.
- Hot take: I get very little value from proofs in math textbooks, and consider them usually unnecessary (unless they teach a new proof method). I like the Infinite Napkin for its approach.
- Wishlist
- Flashcard sets that come together with textbooks. Please.
- 3blue1brown style videos that accompany the book. From Zero to Geo is a great step in that direction.

I'd love to see recommendations for textbooks that satisfy these criteria for various topics, whether those recommendations are newly aggregated here in a comment or from an existing list elsewhere. I'm aware of several enormous lists of textbooks, but I don't know of any that index favorites from this perspective. I'm particularly interested in {proof, geometry, complexity, chemistry, information, thermodynamics, RL} theory.

I agree. Maybe it's time to repost The Best Textbooks on Every Subject again? Many of the topics I want to self-study I haven't found recommendations for in that thread. Or maybe we should create a public database of textbook recommendations instead of maintaining an old forum post.

Someone's idea today was to make a Best of X tag for posts that are specifically recommending a product while having tried at least two other products in that reference class (of which textbooks are one existing example), and then people are encouraged to make top-level posts in this genre, which are easier to search.

I think the problem is that proofs are typically optimized for "give most convincing possible evidence that the claim is really true to a skeptical reader who wants to check every possible weak point". This is not what most readers (especially new readers) want on a first pass, which is "give maximum possible into why this claim is true for to a reader who is happy to trust the author if the details don't give extra intuition." At a glance, infinite Napkin seems to be optimizing much more for the latter.

A property common to many of my favorite textbooks: the author points out what is important to track (especially in ways not already part of the "standard wisdom").

For example (grabbing the textbook nearest to me), The Geometry of Physics by Theodore Frankel is full of statements like:

or

Additional good textbook quality: Prove to me in the first chapter the power of the topic your textbook is written on. I do not want the first 5 chapters to be a bunch of definitions, because then I have no clue whether the rest is worth reading. Either get me inspired to learn your subject, or tell me the myriad things I will be able to do that I otherwise couldn’t and what they’re good for.

This is understandably absent from most textbooks as most don’t read textbooks for fun or profit, but as a requirement imposed on them by their professor, and the professor neither needs to be inspired or reminded of the applications of their subject.

Good point! The first chapter of Programming Pearls viscerally fulfills that criterion for me.

Here's the list I came up with when I did something similar (I was thinking about written explanations in general, which I called "word explanations" on that page). I have an older attempt here. And here's a similar thing I did for a specific textbook.

Nice. Would you mind if I took inspiration from your list (crediting you of course).

Not quite sure what you are asking, but if you mean something like taking some of my points and editing them into your own post, that's fine with me.

First posted this as a comment on the open thread, where I was encouraged to repackage it as a top-level post. Feel free to shift your votes to this one.