The “how” part of this post about code reviews got rather long, so I had to split it into two parts. This part is about preparing our code and our […]
Now that we know good reasons to do code reviews, which parts of our code need to be reviewed? What does not need review?
Are you doing code reviews with your current team? Do you feel they help a lot or are they just a waste of time? In part 1 of this blog […]
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 […]
Code smells are indicators that there might be something afoul in our code. Here is a list of some of the most important smells.
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 […]
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.
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 […]
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 […]