Design Patterns

Lesson overview

Topics covered: basic patterns, singleton, factory, observer.

Design Patterns in C

C doesn't have OOP, but patterns can be implemented:
Singleton pattern with static instance, Factory with function pointers, Observer with callback functions, Linked list with structs

Article author: Arthur Isaev