r/AskComputerScience • • Dec 18 '22

What book should every computer scientist read?

Are there any books that is like a classic for computer science?

32 Upvotes

19 comments sorted by

23

u/lizardfolkwarrior Dec 18 '22

Most books that are actually about computer science are going to be textbooks. In general, I could recommend textbooks about specific topics, but I would not call them mandatory reading. That said, a ton of people are amazed by SICP - it is a book that comes up surprisingly frequently related to CS.

However, there are some books that are not strictly CS, but I would still recommend all Computer Scientists to read them.

First, I would recommend William Rapaport's "Philosophy of Computer Science" - it is freely available here. This is an introductory/textbooklike text on the Philosophy of CS - what is CS? is it a science - in general, what is a science? what does CS study? what is a computer? what is computation, what is an algorithm? what questions arise related to computer ethics and AI? It deals with fundamental questions like this. Obviously, these are not questions that arise in the everyday work of a Computer Scientist, and this definitely will not make you a better Software Engineer. But it might help you think about what CS really is.

Second, I think that sci-fi in general is a genre that people interested in technology generally enjoy - and Computer Scientists might profit from it more than others. There are plenty of books, that could be relevant, but the top book I would recommend is Mary Shelley's Frankenstein - the Modern Prometheus, which is not directly related to CS in any way, but more generally explores the question whether technological progress is always good.

1

u/Zane2156 Dec 18 '22

Would you recommend the book "The Art of Computer Programming" by Donald E. Knuth? I've heard about it a couple times.

3

u/drobilla Dec 18 '22

TAoCP is great for what it is, but more as a reference. You can work through slices of it like a textbook of course (there's exercises with a very wide range of difficulty), but they aren't really the sort of books designed for one to read with a clear thematic arc (unlike, say, SICP).

I'd probably put them on my list of books that every computer scientist (who's interested in the set of topics it covers, anyway) should have around, and poke through a bit, but not books every computer scientist should read in full. I certainly haven't, but I have made use of them over the years and do consider them something that should "obviously" be on my bookshelf. If my physical copies got somehow destroyed, I would replace them.

In other words, TAoCP is good, but don't mistake them for the sort of books you get, sit down and read, then move on from, and certainly not the kind you can "complete" including exercises (many of which are research level problems).

1

u/lizardfolkwarrior Dec 18 '22

Unfortunately I have not read it, so I am not able to give you a well-informed answer to that.

I also heard good things about it, and Knuth is definitely one of the legends of CS, so I would assume the book must also be quite valuable.

1

u/Rungekkkuta Dec 19 '22

SICP really seems like an awesome book! Thank you!

14

u/Sir_B Dec 18 '22

"Code" by Charles Petzold. It's not a textbook, but takes the reader on a journey of how computers are constructed from very basic principles to complete CPUs.

5

u/desmonduz Dec 18 '22

I would rather refer to Nand2Tetris book by Nisan and Schocken. Code is mostly about the hardware aspect of CS, while Nand2Tetris provides a balanced review of both the hardware and the software.

2

u/VollkiP Dec 18 '22

Why not both?

7

u/Big-Mozz Dec 18 '22

The Hitchhiker's Guide to the Galaxy.

6

u/emasculine Dec 18 '22

The Mythical Man Month and it's not even close, though it's more about software engineering

3

u/not-just-yeti Dec 18 '22

Not particularly, but here are a couple recommendations (make good gifts):

  • The Turing Omnibus — it's a bit dated, but it's eighty-five topics, each given a ~5-page overview. It's good for the lay-person, but also great for a CS person to fill in inevitable gaps, at least at the "cocktail party discussion" level. (No matter how good your undergrad degree, there are several of those 85 topics that one should have a clue about, but didn't get mentioned in any class.)

  • I enjoyed Douglas Hofstaedter's Metamagical Themas — a collection of interesting essays, makes for good bedtime reading. Most of it isn't CS per se, but CS people would probably like it.

I see that both of these can be bought used on amazon for about $3. Not sure if that makes me happy, or sad.

1

u/MikeBenza Dec 19 '22

The New Turing Omnibus is updated, (but it's still a bit long in the tooth at this point).

2

u/desmonduz Dec 18 '22

It may sound quite obsolete, but I still think GEB is one of the top classic literature any aspiring applied mathematician or computer scientist should read.

1

u/IAmNotNathaniel Dec 18 '22

I often - or at least I used to often - see Code Complete mentioned in threads like this.

Which is why I have it. But I haven't actually read it yet... it's huge, like a text book.

I also have Code, as mentioned by someone else. This one I have read - at least 75% of it so far. It's really neat how he steps through the most basic types of circuits, how and why they are used, and how using millions of them gets you from sending morse code over a telegraph to multiplying large numbers and storing active memory.

1

u/FeedBackToLoop Dec 19 '22

We all hold our old textbooks near and dear to our hearts, but you are probably better off reading something up to date.

1

u/UntangledQubit Dec 21 '22

If you're talking about computer science specifically as opposed to programming, Introduction to the Theory of Computation by Sipser. It's a gem of an introduction to computability theory, specifically Turing machines, formal languages, and the Chomsky hierarchy. It's been over 20 years and it's still a default book in many curricula.