Clean Code

The mutable keyword seems to be one of the less known corners of C++. Yet it can be very useful, or even unavoidable if you want to write const-correct code […]

Final Classes

A few days ago, a colleague asked me if it was wise to make every class a final class. Here is a more sophisticated answer than I could give at […]

Prefixes are a rather controversial topic. Taking everything into account, I think we should not use prefixed names. Here’s why.

There are different guidelines out there about where and how many return statements to use in a function, e.g. return only once at the end of the function or return […]

When you accept weakly typed data as input or have them as output, still convert them to strongly typed objects inside your application.