News for hackers. Stuff that matters.
Re:Recommendations about coding in C++ by quizotic on Sunday February 19, 2017 @05:04PM (#13682319)
If you're an experienced C++ coder, I'd skip this article.

While it's well structured, with real-world examples, it's very basic. I'm not an excellent C++ coder by any stretch of the imagination. I make lots of mistakes. But not these. The article is fairly thorough and long, so if you're experienced you'll invest non-trivial time for little or no reward.

Re:Recommendations about coding in C++ by dleslie on Sunday February 19, 2017 @05:18PM (#13682411)
The mistakes mentioned include those made in mature projects maintained by good people.

We all make mistakes; and it's oftenworthwhile to review what we take for granted that we know.

Re:Recommendations about coding in C++ by pjmlp on Sunday February 19, 2017 @07:05PM (#13683074)
Given the errors found by PVS-Studio on actual relevant FOSS projects, I would say it is a good introduction for looking into such examples, for those interested in writing proper code.
Re:Recommendations about coding in C++ by AndreyKarpov on Monday February 20, 2017 @01:27AM (#13684844)
The fact that these are simple errors doesn't mean that these are not errors. We should understand tat they are especially noticeable when there is a small code fragment. In the code of a real application such errors can live for years. By the way, I recommend playing: http://q.viva64.com/