A bit different from the audiobook request 2 years ago, as I’m not looking for audiobooks (so it does not have to be nice to listen to, I can see code examples) but regular books you read. Let me know which books helped you out the most, or that you just found fun to read!
EDIT: Thank you to everyone for helping me inflate my reading list! I was wondering what question I should ask to get answers including books on databases, cybersecurity, basically any topic that might fall under “computer science” and not just programming. In hindsight I maybe should have posted somewhere other than Programming and said something other than “Programming book recommendations” if I wanted that, but since I am also interested in programming and software engineering all these books will definitely be eaten soon. Thank you!
Oh, and !books@programming.dev for programming books exists but is sadly not getting much attention.
Kernighan & Ritchie, the C programming language. Yes it’s old, and about one specific language that you may never use. But it’s also very well written and can give good insight into how to tame computers. And it’s short.
Design Patterns by Gamma, Helm, Johnson, and Vlissides (the Gang of Four). Not so much a book to read as a reference with patterns to at least be aware of.
Camel book is the best technical book I ever read. It’s unlikely that you’ll program Perl, but it’s really fun to read.
The Practice of Programming is the must.
- Refactoring by Martin Fowler, having patterns to help identify parts of code that could be changed for the better helps a lot.
- Test-Driven Development with Python, because testing is important and you should atleast have tests in mind when writing you code, even if you dont write them first. I like this one, because it’s very hands-on.
- Head first java by Sierra and Bates, good introduction to programming with languages that offer object orientation and not as dry as the gang of four book, but definitely aimed at beginners
- Fundamentals of Software Architecture by Richards and Ford, working as a programmer often means talking with big picture people or being one yourself, and they have their own strange language.
- Domain Driven Design by Evans, for a similiar reason as Fundamentals of Software Architecture.
- Neuromancer by William Gibson, because fun is important ;)
Refactoring
Once you know how to write code (in any language) it’s important to learn how to rewrite it (into something better)
Test-Driven Development with Python
Because manually stepping through your code is a PITA, so it’s better to put that process into code that you can save and re-run without thinking about it.
Head first java
Any of the Head First series are great introduction books. Head First Design Patterns is great to learn programming patterns that you can typically re-use in any language :D
Fundamentals of Software Architecture
Haven’t read this one, but learning about architecture is important so you can keep your UI, logic and data layers separate, so when you need to replace one layer (like the UI, because the boss wants a refresh), you don’t need to pull out all your hairs due to frustration!
Domain Driven Design
I don’t do DDD (at least not consciously), but understanding what a domain is really really important once you need to talk to business people (not something I like, but it’s necessary to write the right code).
Neuromancer
“The sky above the port was the color of television, tuned to a dead channel.” is such a banger of a first line. Outdated, because “dead channel” won’t make sense to younger kids, but I bet they’ll get a kick out of learning about how TVs used to be.
Hey, I was going to read that person’s recommendations anyways, but thanks for the explanation of why each one matters :)
oh, i was not aware that there is a head first just about desgin patterns, thanks for the heads up.
And Archicture is something that gets more and more important for devs, because it’s likely that the code we write is just a part of a complex system of which we don’t control every part and understanding communication channels and the reasoning behind the setup of the system allows us to write our part in a way that it works well in the bigger thing and not something others (or worse, we) have to work around later.
I researched a lot this topic, found some great books and some not so great. My top in my recommended reading order:
Design patterns from 1994 and Code Complete are pretty solid
Design Patterns is good, another one is The New Turing Omnibus.
Enterprise Integration Patterns by Gregor Hohpe and Bobby Woolf
Algorithms + Data Structures = Programs
Niklaus Wirth
The single most bestest book that I wish my very first programming teacher would’ve hit me over the head with is “Code Complete 2” by Steve McConnell. I’ve only encountered it a few years into my studies, and time and again I thought: I had to figure this out myself!
It’s basically a collection of all the things you can consider, or think about, or do or do differently when programming. Nothing in there is revolutionary, and none of it is something you couldn’t come up with yourself, but I found it immensely helpful to have the content laid out in a structured way.
Structure and interpretation of computer programs (SICP) is a classic. It’s readable online or you can get a printed copy.
“Have you read your SICP today?” still rings in my head, occasionally.
This is a good book to start with small usefull projects in python: https://automatetheboringstuff.com/
I really wish this existed for other languages. Python is really Not It for me. Maybe this book will change my mind. I have heard about it a lot. Either way, thanks for the rec!
The Software Craftsman by Sandro Mancuso
It’s less of technical stuff, but more about the attitude one can (and should) have in our profession.
IMO this interview with the author sums it up nicely.
The Pragmatic Programmer, Your Journey to Mastery and Agile Software Development, Principles, Patterns, and Practices are both books I found very helpful.
Art of Unix Programming
https://archive.org/details/ost-computer-science-the_art_of_unix_programming-1