Practices of the Python Pro

Author: Dane Hillard
Publisher: Manning
Date: January 2020
Pages: 248
ISBN: 978-1617296086
Print: 1617296082
Audience: Python developers
Rating: 3
Reviewer: Mike James
I want to be a Python Pro....

so this book looks perfect. Only it all depends what you mean by "Pro". If you are thinking of a Python wizard who shows you pythonic ways of doing things then this isn't the book for you. In fact it almost isn't about Python at all. What it is is a rehash of everything you have ever encountered in the theory and practice of object-oriented programming with Python as the example language. Of course, if this is what you are looking for then you will like this book but if you were looking for how to specifically use Python to best advantage or for insights into Python's unique and powerful approach to objects you will be very disappointed.

Banner

Part 1: Why It All Matters, a single chapter, is simply a scene setter.

Part 2 is where the book gets going and is called Foundations of Design which gives you a good clue as to what is to follow. - separation of concerns, abstraction and encapsulation, design for high performance and testing.

pythonpro

Part 3: Nailing Down Large Systems - is more of the same. We have separation of concerns (again), extensibility and flexibility, the rules (and exceptions) of inheritance, keeping things lightweight and finally achieving loose coupling.  All of these ideas are introduced in fairly non-specific terms and then how Python fits into the picture is added on. So many important features of Python are simply ignored - where are metaclasses, where are decorators, where is there any mention of functions as objects? All of these things make classical object-oriented practices potentially different and more powerful.

Part 4: What's Next is another single chapter and a very standard outro.

The book is well written, but it's not Python Pro material. If you are a self-taught novice you might find this exposition of the standard ideas of object-oriented programming useful and interesting but be warned Python has many important and powerful features that are simply ignored in this account. If you have encountered the ideas and principles of object-oriented programming then you will find very little new or useful in this book and you will be disappointed that it doesn't really tackle the ideas in a pythonic way but merely uses Python as a medium for illustrating the conventional ideas.

 

For recommendations of Python books see Python Books For EnthusiastsBooks for Pythonistas and Python Books For Beginners in our Programmer's Bookshelf section

To keep up with our coverage of books for programmers, follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.

Banner


Street Coder (Manning)

Author: Sedat Kapanoglu
Publisher: Manning
Date: February 2022
Pages: 272
ISBN: 978-1617298370
Print: 1617298379
Kindle: B09Q3PJQC5
Audience: General
Rating: 4
Reviewer: Ian Elliot
Street Coder - sounds sort of tough but messy at the same time.



The Art of Computer Programming, Volume 4, Fascicle 5

Author: Donald Knuth
Publisher: Addison-Wesley
Pages: 320
ISBN: 978-0134671796
Print: 0134671791
Audience: Knuth fans
Rating: 4
Reviewer: Mike James
Another portion of TAoCP. Do you need to read it?


More Reviews

 

Last Updated ( Tuesday, 23 February 2021 )