Chapter 4. Design Patterns


“Always design a thing by considering it in its next larger context — a chair in a room, a room in a house, a house in an environment, an environment in a city plan.”

 --Eliel Saarinen, “Time,” July 2, 1956


  • Design Patterns Defined

  • Some Useful Programming Patterns

  • Usability Patterns

  • In Closing

Object-oriented programming (OOP) was a significant advance over classic structured coding. Bigger programs could be handled because code organization was greatly improved. But programs kept growing, becoming too complex and hard to manage. Like structured programming before it, OOP was quickly surpassed.

A series of new techniques have been proposed to increase project complexity once again and keep programs organized. Tools ...

Get Core Techniques and Algorithms in Game Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.