This modern approach to the legendary GOF Design Patterns book from Wes Doyle is a set of YouTube videos using the C# language with a novel, culinary, twist.
The Gang of Four Design patterns book first published in 1994 might be still relevant as far as the core concepts are concerned, but the examples and languages used in the book, Smaltalk/C++ and GUI applications are nevertheless somewhat dated.
[フレーム]
Of course, at the time web development hadn't really kicked off, as such the examples reflected the applications of the industry of the time.Things have changed radically since then and while the core concepts like programming over a interface or favoring composition over inheritance still resonate,the bigger pictures needed to get up to date with the current requirements.For example to incorporate external dependencies like Databases and AMQP queues,or services for things like email and HTTP APIs.
Thus the emergence of the "Design Patterns Explained with Food" course,a massive undertaking by developer Wes Doyle who not only released a Github repo congaing the code and examples but also recorded a fully blown video series which generously made available on YouTube for free and for everyone to enjoy.
In this video Doyle explains why he embarked on this project:
[フレーム]
As in the book, Doyle breaks up design patterns into three main
categories:
- Creational patterns which are concerned with the ways that we create new objects to work with
- Structural patterns which are concerned with the ways that we compose objects together to create the types of structures that might be easy to change and solve problems over time
- Behavioral patterns which are concerned with the ways that the objects that we create collaborate
And where does the food fit into the picture? They're real world examples that concern the food business. Like making a custom meal planner, a bakery purchase order system, a food delivery service and so on. And, of course, you can't go more modern than a programming language like C#.
Note that the Youtube play list is still work in progress, as such the videos available at the time of writing are about the Factory Method, Builder, Singleton and Abstract Factory patterns.
On the GitHub repo, however, you'll find all the code examples. There are three directories BehavioralPatterns, CreationalPatterns and StructuralPatterns which host the code for the patterns, and a directory ExamplePrograms with the actual programs which draw their dependencies from the patterns directories. There's one more folder, RealisticDependencies, which mocks several services such an Email one, a Queue and a Database.
To sum it up, it's the best of both worlds; great and timeless concepts but under a modern perspective.
[画像:dpsq]
More Information
Design Patterns Explained with Food on GitHub
Related Articles
YouTube Courses On C++, Python and Blazor
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Amazing Clocks
26/10/2025
It is that time of year when the clocks fall back and we all moan - rightly so. Never mind, we can make it all better by focusing on the clocks themselves...
George Boole, Boolean Logic and Computing
02/11/2025
Today we celebrate the 210th anniversary of the birth of George Boole who today we credit with being the "forefather of the digital age", thanks to his creation of a method of formal logic in whi [ ... ]
- Vibe Coding Is Collins Word of the Year 2025
- TestSprite 2.0 Sees User Growth
- OpenCode - The Claude Code Alternative
- Apple Extends Bug Bounty Program
- Robotic Gut Spider For Exploring Digestive Tract
- Europe Gets Its Own LLM
- The Fuss About Fil-C...
- Linkerd Adds MCP Support
- W3C Adopts A New Logo
- Missing The Point Of LLMs
- Memgraph Adds AI Graph Toolkit
- C# Could Overtake Java in TIOBE Index
- Blockly Moving To Raspberry Pi Foundation
Comments
or email your comment to: comments@i-programmer.info
<ASIN:0201633612>
<ASIN:B000SEIBB8>