๐Ÿงฉ Design Patterns with Java
Home Chapters Examples Diagrams Bibliography GitHub โ†—
  1. Home
  2. Putting It Together
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.

35 minRead โ†’
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.

35 minRead โ†’
โ† Previous part Changing Inherited Code (Modernized Feathers) Next part โ†’ Appendices
Design Patterns with Java
Tutorial content: CC BY 4.0. Sample code: Apache 2.0.
Source on GitHub โ†—  ยท  File an issue โ†—