r/computerscience • • Aug 13 '25
Advice In what order should i read these computer science books as a newbie?
I just bought acouple of the recommended books on here. Those being,
Structure and Interpretation of Computer Programs (2nd Edition)
Operating Systems: Three Easy Pieces
Designing Data-Intensive Applications
Computer Systems: A Programmer’s Perspective (3rd Edition)
Code: The hidden language of computer hardware and software
The Algorithm Design Manual
Crafting Interpreters
Clean Code
The Pragmatic Programmer
Computer science distilled
Concrete mathematics
I’ve only ever coded seriously in Luau while making games, plus a little HTML, JavaScript, C++, and C#. Out of those, C++ is the one I spent the most time with, so that should give you an idea of how limited my overall programming experience let alone CS knowledge is.
I decided to pick up some recommended books to get into computer science, but I’m not sure what order I should read them in. I understand that many people would suggest starting with the ones most aligned to my specific interests, but the problem is I don’t have a specific topic I want to focus on yet. I also know that a lot of computer science books overlap in the topics they cover, which is why I’m asking for advice on the best reading order.
6
u/zephyrinian Aug 13 '25
Honestly, Structure and Interpretation of Computer Programs is not a great place to start. It's a REALLY difficult book.
If you want a good intro to software design and basic computer science, I would highly recommend How to Design Programs. It teaches much of the same ideas, but in a much gentler way. It uses the language Racket (a newer version of the same language used in SICP) but the language really doesn't matter. The point of the book is to teach you how to THINK about programming. If you're interested in programming but don't really know what you want to focus on, start with this book.
SICP is worth coming back to later. You'll understand it better and appreciate it more when you have some experience with programming and some general CS knowledge.
Code is a great book. Especially if you are learning on your own. I'd also recommend Elements of Computing Systems (aka Nand2Tetris). You can pick just one of them or read both. Nand2Tetris guides you through building a computer (yes really) so it's very hands-on. Code is just an overview of the theory, but it's really well written. Crafting Interpreters also sort of fits in this category but it may be a bit more advanced than the other two. I'm really interested in that one but haven't had time for it yet.
Algorithm Design Manual, Designing Data Intensive Applications, and Operating Systems are a lot more advanced. They may be worth coming back to later when you have more experience. Don't feel like you need to understand that stuff yet.
Concrete Mathematics will be interesting if you like math, but honestly you don't need it.
Clean Code is not universally well liked (just FYI) and it probably won't be so useful to you since you don't have a lot of experience yet. And, if you start with How to Design Programs, your code will be so clean you won't even need that book anyways 😎
5
u/Motor-Silver484 Aug 13 '25
Since you do not have a specific topic like web dev, ML or analytics to learn. I'll suggest learning the Core concepts first pick a language java, python, c++ anything. Learn everything then move to Data structures and algorithms understand how it works and most importantly why are you learning these complex bad boys. Then move to the Database Management system, understand what is concurrency, Acid properties, Normalisation, SQL, once you have learnt it Move to Networking learn basic osi/TCP model, socket programming etc. Then you are coming to the Operating system and finally Compiler design.
I hope by then you'll figure out what tech stack you want to learn.
2
u/Bergergi Aug 13 '25 edited Aug 13 '25
Some of the books you list are too advanced, and some are probably too basic.
"Learn" a language if you don't already - meaning read a book and do all the end-of-chapter exercises. Then get an Algorithm book and do the exercises. My suggestion would be King 'C Programming', followed by Sedgewick: 'Algorithms in C'. If you don't know basic math (calculus, statistics, linear algebra, and combinatorics), learn that too (Stewart, Walpole/Myers, Anton/Rorres, and Rosen).
The logical next step would be learning a little bit about how computer hardware, operating systems, threads, etc works. 'Computer Systems: A Programmer’s Perspective' covers that stuff.
9
u/esaule Aug 13 '25
I don't know all of them. THey are really in different streams:
-algo/theory
-system/architecture/network
-software engineering
I would read "Computer Systems: A Programmer’s Perspective" before "OS: 3 easy pieces". But both assume you know how to program.
9
u/Dappster98 Aug 13 '25
Ah, going through the "Teach Yourself CS" gauntlet eh?
I'm currently reading CS:APP (Computer Systems: A Programmer’s Perspective) and it's a pretty well made book. I'm enjoying it so far.
I've read "The Pragmatic Programmer" and it was also a pretty good book. Picked up some pointers, such as the "best" solution to a problem, may not always be the actual best solution.
I've also read most of Crafting Interpreters. It's an excellent book if you want to get into langdev. I wasn't too much of a fan though of the author's way of building projects, which is to write code some place that does something, and then actually define or declare it somewhere else out of order. But still a pretty decent book.
Some books I have in my inventory that I haven't fully read yet are SICP (Structure and Interpretation of Computer Programs), OSTEP (Operating Systems: Three Easy Pieces), Code: The Hidden Language of Computer Hardware and software, Clean Code, and Concrete Mathematics.
I think the order you should read them is by what you're interested in. I'm interested in systems programming, so I've been focusing on CS:APP, Crafting Interpreters, OSTEP, and more systems/compiler books.
4
u/EatThatPotato Compilers, Architecture, but mostly Compilers and PL Aug 13 '25
I personally feel like concrete mathematics is a bit heavy as an introductory self taught book. Crafting interpreters is also a specialised book (topic wise), rather than a more general CS basics book.
I would start with Computer Systems: A Programmer’s Perspective, OS: Three Easy Pieces, and a discrete math book -> an algorithm book of your choice.
This should give you a strong foundation to tackle any subfield
3
u/factotvm Aug 14 '25
Read The Pragmatic Programmer first. It focuses on how to approach the craft and the tools used to practice it. Read Code next to explain the “why” of technology. Spoiler: it’s about people.
2
u/ch4nge4ble Aug 13 '25
I would personally add a book that touches on discrete maths.
how to prove it by Vellerman is great!