Python 3 Object-Oriented Programming: Build robust and maintainable software with object-oriented design patterns in Python 3.8, 3rd Edition by Dusty Phillips
My rating: 4 of 5 stars
I’ve rarely done object-oriented programming in Pytnon and haven’t done any serious OOP since undergrad, nearly 20 years ago (and in Java). i found this book to be very well written and a good way to become an expert in the Python way of doing OOP. I discovered new and more efficient ways to write functions I’ve been writing that should allow me to have more easily maintainable code.
What I like best about the way the book is written is that it’s not written to be a textbook so the chapters don’t end with silly exercises. Instead, each chapter ends first with a case study that explores the principles from the chapter and then a series of thought experiments the reader can perform. Better than all that – and something missing from lots of books and tutorials I’ve read in the past – the author always points out where her example code is not the best way to do something, but is being written this way to demonstrate the chapter’s topics. It prevents the novice programmer from building off this example and thinking it’s the best way to write the code.
I’d definitely recommend it, but make sure you already know how to program in Python because it doesn’t spend the first couple chapters introducing the basics.
View all my reviews