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 […]
This week I exchange guest posts with Jonathan Müller about accessing tuple elements. Jonathan is a CS student passionate about C++. He’s working on various C++ projects like memory, an […]
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.
This week’s post is another guest post. Today, Vaughn Cato shares with us some thoughts on writing tests to the code as a variant of TDD. Vaughn works in the […]
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. […]
It’s time for the next refactoring session, and I happen to have been lazy on my current project. So, today I’ll start to write about some changes I did in […]