Behavioral patterns handler med, hvordan objekter interagerer og kommunikerer — tildeling af ansvar og kommunikationsflowet mellem objekter. De inkluderer Observer, Strategy, Command, Iterator, State, Template Method og mere.
Hvad behavioral patterns løser
BEHAVIORAL patterns concern how objects INTERACT, communicate, and distribute
responsibilities:
→ how objects collaborate and assign responsibilities to achieve behavior
→ manage algorithms, communication, and control flow between objects
→ about BEHAVIOR and interaction, not creation or structure
