Full description not available
V**N
It's not only OOP, but best practices using OOP
Like all books by Steven F. Lott, this book is no exception. I read all books by Steven, and I always learn something from them. Besides teaching how to write OOP and use it, this book explains how to write OOP code using modern data types like NamedTuple, TypedDict, tuples, etc.As always, I learned excellent tips and techniques on how to write nice tests. There are also very interesting chapters on Concurrency and Design Patterns.My only complaint is the type of examples provided in this book. Examples are complicated, and they are based on machine learning data, sailing data, etc. So to understand an example, sometimes you need to understand the domain knowledge of the example. I wish examples were simpler to get a concept and then maybe provide more complex examples.Steven is not biased to OOP in this book, but he also explains the difference between OOP and functional programming and teaches where OOP would be the best fit.In any way, it's an excellent book, and I learned a lot from it, and I use it as a reference if I need to find an answer to my questions.
C**A
POOP is GOLD
Despite its unfortunate initialism, POOP is money well spent. If you already have some experience with python, this book will take you to a next level in Python programming, and teach you along the way some good practices, how to improve readability and some common useful design patterns. Thumbs up!
A**K
A bit more complicated than what I needed
I was looking for a book on Python Object Oriented Programming because it is an area that I was struggling in. I picked up this book assuming that it would help explain the areas I wasn't grasping. I ultimately did not like this book because of how the code was written. The book almost seems like it actually on the subject of type hints and unit testing rather than simply OOP. I found it difficult to follow along with the code examples because they were all written using experimental type hints syntax and designed to work with the mypy testing tool which ultimately rendered the code to look very different from typical python syntax taught in most beginner and intermediate Python books. I ended up picking up Irv Kalb's book "Object-Oriented Python" and found it to be much easier to understand so I recommend that book over this one if you find yourself in a similar situation.
O**S
Design Patterns and Modern Coding
When I first started with object-oriented coding, it felt like trying to build a house without a blueprint. I knew about classes and objects but didnโt know how to design them properly. I often heard about "design patterns" and "good practices," but it was confusing where to start.This book, Python Object-Oriented Programming (Fourth Edition), made everything simple and clear. Itโs like learning from a patient teacher who explains every step carefully. The book doesn't just throw theory at you โ it shows how real Python programs are built, using examples that grow from small scripts to full systems.Every chapter gives you a real-world case study, which makes the learning practical, not boring. Whatโs special about this book is it teaches when to use OOP, and just as importantly, when not to use it โ something most books skip. It also covers testing with unittest and pytest, shows clean ways to handle errors, and even teaches modern Python tools like concurrency with asyncio.Whether you are new to Python or already know some basics, this book is a great guide to take your coding skills to the next level, step-by-step.
N**D
Very Good But Somewhat Verbose
My advice to any readers of the book is to start on page 43. While the previous pages are useful, the topics can be read later and, preferably, gradually. Otherwise it's probably more satisfying for the reader to start with an example. Indeed, it's not until the precious page 43 that one finds the ubiquitous "Hello World". As the expression indicates "Hello, World" should be in the greeting of the text. One need look no further than K&R, where it's used in the first paragraph of Chapter 1.
P**E
Great book to write clean Python code
This book takes you on a well-structured journey from the fundamentals of object-oriented design right through to advanced topics like design patterns, testing, and concurrency.๐ ๐๐๐ฒ ๐ก๐ข๐ ๐ก๐ฅ๐ข๐ ๐ก๐ญ๐ฌ ๐ข๐ง๐๐ฅ๐ฎ๐๐:1๏ธโฃ A step-by-step exploration of core object-oriented concepts, including encapsulation, inheritance, and composition.2๏ธโฃ Practical case studies, such as building a k-nearest neighbors classifier, that bring real-world problems to life.3๏ธโฃ Deep dives into Python-specific features like abstract base classes, operator overloading, and metaclasses.4๏ธโฃ Comprehensive coverage of Python's built-in data structures, exceptions, and even the intersection with functional programming.5๏ธโฃ An engaging look at automated testing with unittest and pytest, plus strategies for writing concurrent code to harness multi-core systems.Whether youโre new to object-oriented programming in Python or coming from another OOP language, this book offers clear explanations and practical examples that make sophisticated design concepts accessible. Itโs invaluable for anyone aiming to write cleaner, more efficient, and robust Python code.
Trustpilot
1 day ago
2 days ago
2 weeks ago
1 week ago