Bibliography
The reference books behind this book.
Each citation in the chapters points to the source for the full treatment. The books are listed here with the topic each one covers.
| Title | Author(s) | Publisher | Year | Topic |
|---|---|---|---|---|
| Fluent Python Second edition; the data model, dataclasses, protocols, decorators, descriptors, and asyncio material that the Python substrate and idiomatic-Python parts lean on. |
Luciano Ramalho | O'Reilly | 2022 | Idiomatic Python |
| Architecture Patterns with Python Repository, unit of work, and dependency inversion applied in Python, behind the dependency-injection and testing-seam discussions. |
Harry Percival, Bob Gregory | O'Reilly | 2020 | Architecture |
| Effective Python: 125 Specific Ways to Write Better Python Third edition; short, practical rules on dataclasses, decorators, generators, and typing that back the idiom advice in the pattern chapters. |
Brett Slatkin | Addison-Wesley | 2024 | Idiomatic Python |
| Python Object-Oriented Programming Fifth edition; classes, inheritance, composition, and the Python object model that the SOLID chapters and the Gang of Four mappings build on. |
Steven F. Lott, Dusty Phillips | Packt | 2025 | Object-oriented design |
| Design Patterns: Elements of Reusable Object-Oriented Software The canonical Gang of Four catalogue this book's chapters track. |
Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides | Addison-Wesley | 1994 | Design patterns |
| A Pattern Language: Towns, Buildings, Construction The architecture book in which Christopher Alexander set out patterns; the chapter on patterns as decisions under forces credits him with the idea the catalogue took. |
Christopher Alexander, Sara Ishikawa, Murray Silverstein | Oxford University Press | 1977 | Design patterns |
| Pattern Languages of Program Design 3 Edited by Robert C. Martin, Dirk Riehle, and Frank Buschmann; Bobby Woolf's chapter "Null Object" is the source for the pattern that the type-system chapters show dissolving into an optional type. |
Bobby Woolf (chapter); Robert C. Martin, Dirk Riehle, Frank Buschmann (eds.) | Addison-Wesley | 1998 | Null Object |
| Domain-Driven Design: Tackling Complexity in the Heart of Software Develops entities and value objects as modelling tools, behind the value-semantics discussion of what a type is compared and shared by. |
Eric Evans | Addison-Wesley | 2003 | Value Object; entities |
| Patterns of Enterprise Application Architecture Catalogues Value Object as a small object compared by its fields, the pattern the value-semantics discussion starts from. |
Martin Fowler | Addison-Wesley | 2002 | Value Object |
| Agile Software Development: Principles, Patterns, and Practices The source of the SOLID principles this book builds its principles part on. |
Robert C. Martin | Prentice Hall | 2002 | SOLID principles |
| Object-Oriented Software Construction Second edition; where the open-closed principle and Design by Contract are developed, behind the preconditions and postconditions in the principles part. |
Bertrand Meyer | Prentice Hall | 1997 | Open-closed principle; Design by Contract |
| Working Effectively with Legacy Code Seams, characterization tests, and the dependency-breaking techniques the changing-inherited-code chapters adapt to Python, where monkeypatching and duck typing change which seams are cheap. |
Michael Feathers | Prentice Hall | 2004 | Legacy code |
| Refactoring: Improving the Design of Existing Code Second edition; the behaviour-preserving refactoring catalogue contrasted with Feathers in the legacy track. |
Martin Fowler | Addison-Wesley | 2018 | Refactoring |
| xUnit Test Patterns: Refactoring Test Code The four-phase test and test-double taxonomy behind the testing chapter and the xUnit test patterns appendix. |
Gerard Meszaros | Addison-Wesley | 2007 | Testing |
| Python Testing with pytest Second edition; fixtures, parametrization, and configuration in the pytest workflow, the baseline the testing chapter builds its mock and type-checking practice on. |
Brian Okken | Pragmatic Bookshelf | 2022 | Testing |
| Pattern-Oriented Software Architecture, Volume 2: Patterns for Concurrent and Networked Objects The original Monitor Object and Active Object catalogue entries, read against the GIL and asyncio chapters. |
Douglas C. Schmidt, Michael Stal, Hans Rohnert, Frank Buschmann | Wiley | 2000 | Concurrency |
| Pattern-Oriented Software Architecture, Volume 3: Patterns for Resource Management The resource-management catalogue (pooling, lazy acquisition, eviction) behind the context-manager and resource-lifetime discussions. |
Michael Kircher, Prashant Jain | Wiley | 2004 | Resource management |
| The Pragmatic Programmer: Your Journey to Mastery The source for DRY and orthogonality reviewed in the programming-principles appendix. |
David Thomas, Andrew Hunt | Addison-Wesley / Pragmatic Bookshelf | 2019 | Programming principles |
| Clean Code: A Handbook of Agile Software Craftsmanship The source for the meaningful-names argument in “Naming patterns for teams and AI assistants”. |
Robert C. Martin | Prentice Hall | 2008 | Programming principles |
Citation discipline
Every citation in this book is a pointer, something like "see Feathers for the full dependency-breaking technique," not a displacing summary. The books exist; if this book replaced reading them, it would do the authors and the reader a disservice. Only actual books appear here; the Python documentation, PEPs, and web articles a chapter cites stay in that chapter.