Have you ever worked with a suite of unit tests that took an hour or so to run? I have. And I have not. Because they were only called “unit […]

Today’s post is about an incident with our compiler and a small little feature that sometimes seems to be underused or simply forgotten: Keyword `explicit`. How a Bug in Our […]

C++ is a multi-paradigm language, so it is not a purely object oriented language but has other aspects, for example a huge support for generic programming via templates. One of its major […]

In 2012, Martinho Fernandes coined the Rule of Zero in a blog post. In 2014, Scott Meyers wrote a blog post about a concern with that rule and proposed a Rule of Five Defaults. In this post I am going to wrap up my thoughts about the two posts and propose a “Rule of All or Nothing”.

Some people adhere strongly to design patterns. They have read the “Gang of Four” book and are now convinced that there should be a design pattern used in almost every […]