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
Andrey Karpov shares some useful observations on error patterns, touching upon the subject of handling rare and emergency conditions in programs.
This third article in the series discusses a couple of new programming methods that can help you make your code simpler and safer.
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.
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.
Andrey Karpov checks Apache HTTP Server with PVS-Studio and discusses the errors and false reports returned.