Design Patterns: Decorators – C++

Design Patterns were always different in C++, and a usual use of these patterns in C++ might cause more complications and problems in this language. In this series of articles, I’ll show how to correctly implement them in C++. In this article we’ll see how to implement a compile-time Decorator.

Design Patterns: Factories – C++

Design Patterns were always different in C++, and a usual use of these patterns in C++ might cause more complications and problems in this language. In this series of articles, I'll show how to correctly implement them in C++.

Hash your Conditions – C++

Conditions are the most natural way to control your code flow in programming, it's almost the first thing that every programmer learn at the beginning. Sometimes conditions, especially if you are conditioning strings in C++, the code become very complicated to understand and very lazy.