A design pattern is a code structure or practice that solves common programming
problems.
Here are a few examples of design patterns and the problems they solve.
- Event-driven programming allows your code to respond to events during
execution.
- Object-oriented programming allows you to reuse and extend code that already
exists.
- The state machine design pattern allows you to execute different parts of your code
based on the state of your application.
- Actor Framework allows you to write applications where multiple tasks run
independently while communicating with each other.