Online compilers can be useful tools to quickly compile a snippet of code without having to install a proper compiler on our computer. They can be especially useful to play […]
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 […]
I find myself currently unable to keep up with the pace I practiced for the last two years. Work, side projects, and other stuff just got in the way. Therefore, I will reduce the frequency of blog posts for the time being, but hopefully not for too long.
The good news is: This means there is more space for guest posts. So if you’d like to help out and fill the gaps, don’t hesitate do contact me!
Depending on their use, std::pair and std::tuple can be code smells. That’s why we should be careful around these two.
Prefixes are a rather controversial topic. Taking everything into account, I think we should not use prefixed names. Here’s why.
Last year, I have written about constexpr and compile time constants in general. Last week, the Draft International Standard for C++17 has been sent to its ballot. Time to provide […]
In my last refactoring session post, I wrote I had been lazy when it came to refactoring Fix. Actually, I’ve slacked on purpose, repeatedly skipping the refactoring steps of the […]
Lambdas are a nice recent addition to C++. They are cool, they are hip, and they tend to be overused and misused.
I’ve written a few posts about refactoring already. What is still missing is a post about the basic principles, so here we go.
decltype and std::declval are two features that go hand in hand and are most useful in template metaprogramming and in conjunction with the use of type deduction via auto, e.g. […]