Legacy Design Patterns

Lesson overview

Topics covered: patterns from pre-C99 era, workarounds, backward compatibility.

Design Patterns in C

Common patterns implemented in C: Singleton (static instance), Factory (function pointer table), Observer (callback functions), Linked list traversal, Tree structures with structs

Article author: Arthur Isaev