The Singleton
The most controversial Design Pattern from the book “Design Patterns: Elements of Reusable Object-Oriented Software” is the Singleton Pattern. Let me introduce it before I discuss its pros and cons.
This author has not written his bio yet.
But we are proud to say that Rainer Grimm contributed 689 entries already.
The most controversial Design Pattern from the book “Design Patterns: Elements of Reusable Object-Oriented Software” is the Singleton Pattern. Let me introduce it before I discuss its pros and cons.
In the last installment of this blog, I introduced the Factory Method: Creational Patterns: Factory Method 1. My implementation had two serious issues: slicing and ownership semantics. Today, I fix these issues.
Training and mentoring aim one goal: to improve your skills in a well-defined way. Although both aim for the same goal, they use very different ways. One may fit your needs, but not the other.
The classic book “Design Patterns: Elements of Reusable Object-Oriented Software” has 23 patterns. They are ordered by intent: creational, structural, and behavioral patterns. Today, I focus on the creational pattern Factory Method.
An anti-pattern is a proven way to shoot yourself into your foot. The term anti-pattern was coined by Andrew Koenig, and it is pretty entertaining to read about them.
Patterns don’t live in isolation, they are in relation to each other. A relation can mean they are in contrast to each other, connected, build a sequence of patterns, build a repository of patter, or even a pattern language. Let’s dive deeper into these relations.
The classics “Design Patterns: Elements of Reusable Object-Oriented Software”, and “Pattern-Oriented Software Architecture, Volume 1” use similar steps to present their pattern. Today, I will present this structure of a pattern.
Today, I want to present the five winners for the pdf of the book “C++20 STL Cookbook” by Bill Weinman.
In my last post, I presented the classification of design patterns based on the seminal book “Design Patterns: Elements of Reusable Object-Oriented Software”. Today, I present are more general classification of patterns based on the second seminal book “Pattern-Oriented Software Architecture, Volume 1“.
I’m happy to announce that I have five giveaway eBooks for “C++20 STL Cookbook” by Bill Weinman. In return, I have a question about the C++20 format library: What are the major advantages of the C++20 format library over printf and iostream?