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


Query Store for SQL Server 2019 (Apress)

Author: Tracy Boggiano & Grant Fritchey
Publisher: Apress
Pages: 234
ISBN: 978-1484250037
Print: 1484250036
Kindle: B07YNL3X4X
Audience: SQL Server DBAs and Devs
Rating: 4
Reviewer: Ian Stirk

This book aims to use Query Store to improve your SQL Server queries, how does it fare?



Modern JavaScript for the Impatient

Author: Cay S. Horstmann
Publisher: Addison-Wesley
Date: July 2020
Pages: 352
ISBN: 978-0136502142
Print: 0136502148
Kindle: B08F5HFWBH
Audience: Developers interested in JavaScript
Rating: 4
Reviewer: Mike James
So you're impatient - what next?


More Reviews

 

Last Updated ( Tuesday, 23 February 2021 )