5 books every developer should read, and some extras.
Tags: codenewbie, career, books, beginners
Published: 2019-11-02 14:18:59

This article was originally posted on my brand new blog [The Developer's Dungeon](https://www.patferraggi.dev/blog/2019/nov/five-books-every-developer-should-read/)

Last week I wrote an article analyzing my first 5 years in development and giving some recommendations, one of my suggestions was **Always Read Technical Books!**. A lot of people showed interest in the subject so I decided to write the following article about the books I think are the most useful for developers.

If you are interested in the first article you can read it [here!](https://dev.to/patferraggi/how-to-become-an-amazing-software-developer-things-i-wish-i-knew-when-i-started-28c5).

-----------

I always preferred tutorials and online courses but unfortunately, they won’t cover the fundamental knowledge that will take your development skills to a whole new level. For the last 2 years, I have been eating technical books, one after the other, trying to implement what I read at my daily job. I have seen the quality of my code get a lot better, and also noticed many mistakes I was making, which made me create better standards for myself and pursue the mastering of my craft. I now think about how much time I 'lost' before starting to read these type of books and just wished I started earlier, hopefully, this article will give you a head start in the path to be the best developer you can be.

Just to be straight with you, some of the links are amazon affiliate links, others are not and some books are even free. You don't have to buy them from these links, but if you do I will appreciate it.

####1. [Clean Code: A Handbook of Agile Software Craftsmanship (Robert C. Martin)](https://www.amazon.com/gp/product/0132350882?ie=UTF8&tag=patferraggi-20&camp=1789&linkCode=xm2&creativeASIN=0132350882)

![clean code](https://m.media-amazon.com/images/S/aplus-media/mg/38127463-e531-4823-b46e-d79d174575cc._SR150,300_.jpg "Clean Code")

This book is an amazing start, I would definitely consider it the first one. It takes on various topics like dependencies, naming of methods and classes, comments, testing. In my case when I read this book I immediately felt like an idiot, I felt like I was doing everything wrong, it basically shook everything I thought I knew about building software.
I do believe that after reading this, my code is more maintainable, testable and self-explanatory. 

The book is also written very well which makes it incredibly easy to read multiple times.

####2. [The Pragmatic Programmer, your journey to mastery (Dave Thomas and Andrew Hunt)](https://pragprog.com/book/tpp20/the-pragmatic-programmer-20th-anniversary-edition)

![prag prog](https://imagery.pragprog.com/products/595/tpp20_xlargecover.jpg?1557173963
3,200_.jpg "The Pragmatic Programmer")

The new 20 anniversary of this classic is out, I read the original version 2 years ago. It was my first technical book and it was a good one, right up there with Clean Code.

This book is filled with amazing simple tips you can do to make your software better, from how to handle tests and refactorings, to creating automated tools, to avoid duplication. It has one good tip after the other. The book is also written using studies and stories as examples which makes those tips easy to understand and interiorize.

####3. [The Clean Coder: A Code of Conduct for Professional Programmers (Robert C. Martin)](https://www.amazon.com/gp/product/0137081073?ie=UTF8&tag=patferraggi-20&camp=1789&linkCode=xm2&creativeASIN=0137081073)

![The clean coder](https://m.media-amazon.com/images/S/aplus-media/mg/a1e81e9e-d24a-462f-8364-552ae1f840c8._SR150,300_.jpg "The clean coder")

Yes, another one from Robert C. Martin A.K.A Uncle Bob. He is a guy with strong opinions and a contagious passion for software. This book is all about that passion, is about how we should handle all steps of creating and maintaining software and tries to create a set of principles that all developers should apply. I truly believe this is also a must for every developer, in my case it made me question my own professionalism and inspired me to start driving my day to day actions at work differently.

####4. [Working Effectively With Legacy Code (Michael Feathers)](https://www.amazon.com/gp/product/0131177052?ie=UTF8&tag=patferraggi-20&camp=1789&linkCode=xm2&creativeASIN=0131177052)

![Working effectively with legacy code](https://m.media-amazon.com/images/S/aplus-media/vc/d4da85d4-70d2-4fce-ad49-8731719c77b7._SR150,300_.jpg "Legacy Code")

The book's title seems to be everything you might need, right? At least that is what I thought when I saw it. Don't we always work with legacy code? You are on a greenfield project without tests so this doesn't concern you?

After reading this book you will look at legacy code in a very different way, you will notice that most of our work is dealing with it and this book will add tons of tools to your belt on how to bring that legacy code to an era of glory. It is also one of those books that makes you think you were doing everything wrong, to the point you feel shame about the software you are making. It is at that point that big improvements will happen.

####5. [Test Driven Development By Example (Kent Beck)](https://www.amazon.com/gp/product/0321146530?ie=UTF8&tag=patferraggi-20&camp=1789&linkCode=xm2&creativeASIN=0321146530)

![TDD by example](https://images-na.ssl-images-amazon.com/images/I/51kDbV%2BN65L._AC_AA180_.jpg "Test driven development")

This might be a little controversial, there will be two kinds of arguments here. The first one: "Do I really need tests?" You would be surprised how many developers do not test their code in 2019. They fail to realize that part of developing is to provide a repeatable way of showing the correctness(or the NOT Failure) of your programs.

The second argument is if you really need Test Driven Development. You might be doing tests after you build the software and think it is the same, but it is not. There are a few features that TDD gives you, that you will not get if you do the tests after the code, particularly a complete trust in your test suite which enables you to do refactorings with ease, automatically helping your code become better.
After reading this book you will understand the differences. What you will not understand is how were you producing software without it.

-----


That is my top 5, I do have more, a lot more, but I think those are a must. I generally don't read technical books on a specific technology, tech moves so fast that those kind of books are most of the times outdated at the moment they come out, I found out that it is better to get the knowledge that can be agnostic to the technology used to implement it. 

Just in case you already read those I am going to leave here some quick links to others I read and really enjoyed.

[Refactoring: Improving the Design of Existing Code (Martin Fowler)](https://www.amazon.com/gp/product/0134757599?ie=UTF8&tag=patferraggi-20&camp=1789&linkCode=xm2&creativeASIN=0134757599)

[Adaptive Code: Agile coding with design patterns and SOLID principles (Gary McLean Hall)](https://www.amazon.com/gp/product/1509302581?ie=UTF8&tag=patferraggi-20&camp=1789&linkCode=xm2&creativeASIN=1509302581)

[Clean Architecture: A Craftsman's Guide to Software Structure and Design 
 (Robert C. Martin)](https://www.amazon.com/gp/product/0134494164?ie=UTF8&tag=patferraggi-20&camp=1789&linkCode=xm2&creativeASIN=0134494164)

[Structure and Interpretation of Computer Programs (Harold Abelson and
Gerald Jay Sussman
with Julie Sussman)](https://web.mit.edu/alexmv/6.037/sicp.pdf)

[Design Patterns: Elements of Reusable Object-Oriented Software (Gang of Four)](https://www.amazon.com/gp/product/0201633612?ie=UTF8&tag=patferraggi-20&camp=1789&linkCode=xm2&creativeASIN=0201633612)

[Head First Design Patterns: A Brain-Friendly Guide (Eric Freeman and Elisabeth Robson)](https://www.amazon.com/gp/product/0596007124?ie=UTF8&tag=patferraggi-20&camp=1789&linkCode=xm2&creativeASIN=0596007124)



If you need a book recommendation just let me know, there is always something new in my library :smiley:.

Thank you very much for taking the time to read this article, have you already read any of these books? I would love to read your opinion in the comments.
Do you have a book recommendation for me? Don't doubt to let me know.