Skip to content
Scan a barcode
Scan
Paperback Python Programming Patterns Book

ISBN: 0130409561

ISBN13: 9780130409560

Python Programming Patterns

The goal of this book is to prepare readers to write medium to large size programs in Python - by this we mean containing thousands of lines of codes. This book will teach both the Python programming... This description may be from another edition of this product.

Recommended

Format: Paperback

Condition: Good

$14.99
Save $30.00!
List Price $44.99
Almost Gone, Only 1 Left!

Customer Reviews

5 ratings

I use the book quite often as a reference

Even though the book is light on true examination of the 20 object oriented patterns it contains, it is a great python book. I use the book as a reference and I must tell you that I feel that you get your moneys worth with this book, thus it gets 5 stars...

I don't understand the confusion

Alot of discussion has focused on the title of the book. So, it's not a classic "design patterns" book but if you take a second to look at the table of contents you'll figure that out pretty fast. The introduction even states the following in a section titled, "What the Book is Not" - "... this book cannot be a hard-core object-oriented design patterns book." I don't think that's a problem with this book.What I think this book does well is cover alot of ground on writing python with some pretty good examples that go beyond the usual intro book stuff. There is talk of threads, regular expressions, abstract data types, modules etc... stuff you need to do real work but that usually gets left out. To me this is really a kind of python for programmers type book with some very good examples. If that's what you're looking for then check out the table of contents. I liked it.

Python Engineering...

Many of the reviewers here seem rightly disappointed that Python Programming Patterns is not a Design Patterns book rewritten with Python source examples. When I bought this I was expecting something similar, and was at first dismayed that PPP wasn't that book. But as I started to read through it, I realized that this was the first book I'd seen which actually focused on *Engineering* solid and comprehensive solutions in Python. If you want to know how to write a 'Hello Python' application, look elsewhere. For all the rest of us needing some insight into how best to apply Python to problems of any complexity, there is no more appropriate book out there.

Python Programming Techniques

This book definitely could use a different title as it sets an expectation level that is, admittedly, different from what readers familiar with programming patterns would mean by the term "patterns". This is moreso a book on techniques for programming Python effectively and less so a book on patterns per se. That said, there are many good things about this book, and those who actually *look* at the programming examples will see that patterns and the vocabulary of patterns (as defined in the "Gang of Four" book) are clearly evident throughout the book.Here are a few positive points about the book:1. It is one of the few books where a good number of the patterns are used in non-trivial examples instead of the abstract examples found in other patterns-related books, including the "Gang of Four" book.2. It is one of the few books that addresses concurrency patterns, including excellent discussions on threading techniques and transactions.3. It provides real details on how to address data structuring needs not supported directly by Python's intrinsic support for lists and dictionaries.In conclusion, there is no doubt that this is not the "Hello, World" book and could benefit from a different title. However, if you are looking for real code examples that actually use patterns, this book might be one of the few places where you'll actually find what you are looking for.

What the book is good at.

I keep Python Programming Patterns close so I can look up details of the Python language and the functions, objects, and methods in modules I use frequently. I also use objects whose code is presented in the book: DEQueue (double-ended queue), Set, and RunQueue especially. I wrote the kind of book I want to use myself.The goal of PPP is to teach you the Python language emphasizing the facilities that you will use to build larger programs, i.e. programs of several thousand lines.Of particular interest is the section on abstract data types. I use ADT's, especially container ADTs, all the time. ADTs are new data types implemented in the language itself. To implement an ADT, you create a class, use other data structures for the "encapsulated" representation of the data, and write methods to provide operations on these types. You use "special methods" to implement unary operators, binary operators, subscripting, slicing, and attribute access, but these special methods have intricacies that you will need to know to use them. PPP explains them. The section on concurrency are also noteworthy: it provides what I consider the best explanation of Python's threading module of all I have seen published. As an author of "High-Performance Java Platform[TM] Computing," I am an expert on threading.PPP takes a broad definition of "patterns," including more than object-oriented design patterns. It presents concurrent programming patterns such as monitors, deadlock, producer-consumer and transactions, and it considers higher-level approaches to programming such as structured programming, modular programming, and functional programming.Someone who knows object-oriented programming in another language will find useful information on how dynamically typed Python differs from statically typed languages such as Java or C++. Object-oriented design patterns (OODPs) are presented from a data-structures point of view, a "here's how the objects are linked together and what they do" presentation. The OODPs are used in examples throughout, but OODPs are only a part of the book.I hope you like it as much as I do.
Copyright © 2024 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks® and the ThriftBooks® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured