The Template Method Pattern and the Bridge Design Pattern in modern C++

Is developing software only good (or excellent) knowledge of a programming language? Of course not. There are many things, but one of the most important is to know patterns. It might be not obvious when you develop elementary apps at the beginning of your journey, but it becomes necessary when developing decent packages for professional

Continue reading The Template Method Pattern and the Bridge Design Pattern in modern C++

How to use pimpl idiom to hide the internals of your class declaration (and not only)

When we share the public interface of our library or API, we usually share the header files. In this case together, with the public members od our class there is also visibility of the private. The pimpl idiom which comes from the “pointer to implementation” is a programming technique that let us hide the internal

Continue reading How to use pimpl idiom to hide the internals of your class declaration (and not only)