Software design patterns are a valuable tool in any software developer's skill set. However, most design patterns are described in the context of an object-oriented programming language such as C++ or Java. The C language is sadly absent in the pattern literature. This course is here to change that by demonstrating that it is possible to use patterns in C programs and how it adds benefits to C programmers. You will learn why design patterns are more of a communication tool than technical solutions, and how patterns let you build and share a common vocabulary that simplifies communication.
The course presents a number of patterns and explains how to implement them in C. Each pattern is introduced via the problem it solves and the domains where the pattern can be used. We also discuss the underlying design principles as well as the trade-offs when applying the pattern. Finally, the course covers a set of coding idioms that will guide you when applying design patterns in C.
Software design patterns are a valuable tool in any software developer's skill set. However, most design patterns are described ...Show More
Content
1.
Introduction to Pattern in C
5 Lessons
Get familiar with software design patterns in C, addressing complexity and enhancing development.
2.
The First-Class ADT Pattern
5 Lessons
Get started with decoupling interfaces from implementations using the First-Class ADT pattern.
3.
The State Pattern
5 Lessons
Break apart the complexities of the State Pattern for efficient state management in C.
4.
The Strategy Pattern
5 Lessons
Grasp the fundamentals of the Strategy pattern for flexible and maintainable software design.
5.
The Observer Pattern
5 Lessons
Dig into the Observer pattern's decoupling, dependency management, efficiency, implementation, and complexities in C.
6.
The Reactor Pattern
6 Lessons
Follow the process of implementing the Reactor pattern for efficient event-driven applications.
7.
Idiomatic Expressions
10 Lessons
Master idiomatic expressions in C for enhanced code efficiency, safety, and maintainability.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Course Author:
Developed by MAANG Engineers
Trusted by 2.8 million developers working at companies
"These are high-quality courses. Trust me. I own around 10 and the price is worth it for the content quality. EducativeInc came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks"
Anthony Walker
@_webarchitect_
"Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!"
Evan Dunbar
ML Engineer
"You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it."
Software Developer
Carlos Matias La Borde
"I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site"
Souvik Kundu
Front-end Developer
"Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content."
Vinay Krishnaiah
Software Developer
Hands-on Learning Powered by AI
See how Educative uses AI to make your learning more immersive than ever before.
AI Prompt
Code Feedback
Explain with AI
AI Code Mentor
Free Resources