This first article in a series devoted to how C/C++ programmers unintentionally play with fire discusses how programmers often attempt to explicitly call a constructor.
Articles Written by Andrey Karpov
How to Make Fewer Errors at the Stage of Code Writing. Part N4
Andrey Karpov shares some useful observations on error patterns, touching upon the subject of handling rare and emergency conditions in programs.
How to Make Fewer Errors at the Stage of Code Writing. Part N3.
This third article in the series discusses a couple of new programming methods that can help you make your code simpler and safer.
How to Make Fewer Errors at the Stage of Code Writing. Part N2
This is the second article on avoiding certain errors at the early stage of code writing. In the previous post, we have already advised you to avoid a large number of calculations in one expression. However, we should investigate this question in detail. Let's see what's dangerous about complex expressions and how we can avoid many logical errors.
90 Errors in Open-Source Projects
The materials collected in this article will be useful for authors of articles, books and blogs. Examples of errors can be used to demonstrate the advantages of different programming styles -- for instance, why you should not try to make your code shorter by writing long expressions.
Leo Tolstoy and Static Code Analysis
Andrey Karpov checks Apache HTTP Server with PVS-Studio and discusses the errors and false reports returned.