๐Ÿ Design Patterns with Python
Home Chapters Examples Diagrams Bibliography GitHub โ†—
  1. Home
  2. Putting It Together
Part 13 2 chapters

Putting It Together

A final project that combines the patterns, and working with AI and LLM tools on pattern-heavy code.

Chapter 39

Final project

One booking through all seven domain areas: an acceptance test written first, undo in reverse on an ExitStack, publishing after the commit and a single composition root.

Read โ†’
Chapter 40

Working with AI and LLM tools

Three hand-written drafts of one pricing function, three gates (types and lint, shape rules, a behaviour oracle) and a model client behind a Protocol, tested with recorded replies.

Read โ†’
โ† Previous part Concurrency Next part โ†’ Appendices
Design Patterns with Python
Prose, diagrams and decks: CC BY 4.0. Sample code: Apache 2.0.
Source on GitHub โ†—  ยท  File an issue โ†—