Part 11
2 chapters
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.
Chapter 33
Final project
A shipment dispatch center that composes Builder, State, Command, Observer and Strategy into one running system, taught at the seams where the patterns meet.
Chapter 34
Working with AI and LLM tools
Using an LLM as a pattern-literate collaborator: name the forces and the candidate pattern before prompting, recognize patternitis, hallucinated APIs and non-idiomatic Java, and pass every draft through a verification gate of behavior tests plus an idiomatic review. A return-eligibility Strategy pairs a correct draft with a plausible one carrying a single off-by-one, caught by the same boundary table.