Design Patterns Blog Posts

Programming tutorials, thoughts on software development, and the occasional off-topic post.

  1. What Are Higher-Order Components in React?

    Higher-order components are one of React's most popular design patterns, allowing you to define reusable stateful logic and create powerful, flexible components.

  2. Finite State Machine (FSM) Tutorial: Implementing an FSM in C++

    Finite state machines (FSMs) are used in lots of different situations to model complex entity state. In this finite state machine tutorial, I'll help you understand the FSM design pattern by building one from the ground up for a simple use case.