Skip to main content

Intro2026-05-05

Devlog: Design Patterns & The Strategy Pattern​

Just jotting down some core notes on design patterns today. Essentially, they're blueprints we can customize to solve recurring design problems in our code.

They generally fall into three categories:

  • Creational patterns: Provide different mechanisms to create objects, which results in increased flexibility and reuse of existing code.
  • Structural patterns: Provide a way to assemble objects and classes into larger structures, keeping these structures flexible and efficient.
  • Behavioral patterns: These patterns are concerned with algorithms and the assignment of responsibilities between objects.

Sources and Credit​

These notes are heavily informed by:

I use it as a reference, then document my own understanding and approach in a project-focused format.