Behavioral Pattern

noun

say it: “bih-HAYV-yur-ul PAT-ern” /bɪˈheɪvjərəl ˈpætərn/

A design pattern about how objects share out the work and talk to each other, so what a program does can change without rewrites.

What is a behavioral pattern?

A behavioral pattern is a design pattern about behavior: how objects share out the work and talk to each other, so what the program does can change without rewrites. Strategy, Observer, Command, State and Iterator are five of the eleven in the 1994 Gang of Four book.

In a sentence

  • “Swapping this week's deal in as a rule is a behavioral pattern.”

Level: Apprentice · More OOP terms at this level

Updated