Putting It Together
A final project that composes several patterns from the book, and a look at working with AI and LLM tools as a pattern-literate collaborator rather than a code vending machine.
Final project: composing patterns into a system
A shipment dispatch console that composes Strategy, Factory, State, Command and Observer into one system, taught at the seams where the patterns meet rather than re-teaching any one of them.
Working with AI and LLM tools
Using an LLM as a pattern-literate collaborator: name the forces and the candidate pattern, recognize over-patterning, hallucinated APIs and outdated C++, and gate every draft on behavior tests plus an idiomatic review. A usage-tier Strategy pairs a correct classifier with a plausible one carrying a single off-by-one at a billing boundary, caught by the same table run against both.