With the increasing standardization of attributes, we get the opportunity to make our code clearer not only to other humans but also to the compiler and other tools.
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 […]
For my current project Fix, I use Python and Behave for Behavior Driven Design (BDD). Today I’ll describe my process and the tools I use.
When you accept weakly typed data as input or have them as output, still convert them to strongly typed objects inside your application.
Trailing return types are an oddity in C++ – we should use them only when necessary. Decide carefully whether to adopt them as a general style, and try to stay […]
If you have followed my blog, you know that I am a proponent of automated testing. I like TDD and have a very strong opinion about code that has not […]
I gave an introduction to variadic templates last week. Today I will talk about some more features that have or will be added in that area in C++11, 14 and […]
Generic programming and metaprogramming with templates always have been one of the features that set C++ apart from most other languages. With C++11, variadic templates added even more possibilities in […]
Is everything we use a string for really just a bunch of characters? Is everything we use an int for really just a number? Probably not. We can have stronger […]
User-defined literals are a convenient feature added in C++11.