3 ms·
That is not a fair assertion. You might have ignored static analyzers until you've discovered clang, but that observation is not generalizable. As others have a
by geezerjay 7y ago
That is not a fair assertion. You might have ignored static analyzers until you've discovered clang, but that observation is not generalizable. As others have already pointed out, lint has been used extensively for decades.
- pjmlp 7y agoI have been using static analysers since the mid-90's. Ever heard of PC Lint from Gimpel? It was my first one. Or do you think I would be critic of how many use C, without adopting best practices myself? One learns a lot about code quality, or lack thereof, when doing enterprise consulting.
- naikrovek 7y ago> One learns a lot about code quality, or lack thereof, when doing enterprise consulting. Pure truth, there. One has seen neither really awful code nor really great code until they have seen the wide array of code quality produced by an enterprise with a few decades of software development history. Any enterprise will suffice, it doesn't have to be a huge corporate entity. There are a very few developers who are really good and who really care, and there are very few who really do not care and who are really not good, and most are somewhere in between.
- pjmlp 7y agoAs addendum to my reply, here are the answer to JetBrains questionnaire about the C++ eco-system among their customers. Check "Which of the following tools do you or your team use for guideline enforcement or other code quality/analysis?" results. https://www.jetbrains.com/lp/devecosystem-2019/cpp/ https://www.jetbrains.com/lp/devecosystem-2019/cpp/