Doing code reviews means interacting with other humans, which we need to take into account. We also often have the luxury of being able to choose the reviewer, and the […]
Writing maintainable, easy-to-read code
We finally come to the core post of this series – how to do code reviews.
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.