~/talk

A Critical Look at the Coding Standards Landscape

Talkat CppCon 2019 · 2019-09-15..09-20· [software-architecture, c-and-cpp]
links:none on file
slides:none on file

Many public C and C++ standards exist but they often mismatch project context: MISRA C++ 2008 targets C++03 and freestanding implementations and is not appropriate for modern C++ projects. Static analysis of an old GDB snapshot finds 202,000 violations across 335k LOC — about 0.6 defects per LOC — producing huge remediation cost (each MISRA deviation record ≈2.5 pages), estimated hundreds to thousands of hours. Use precise context, automate trivial rules in IDE/CI, review rules regularly, and prefer forking a guideline to fit the codebase.

AI-written summary · about

  1. 0:00Introduction to coding standards
  2. 1:18Context and conference recommendations
  3. 2:18Personal background and vendetta
  4. 5:16Defining coding guidelines and standards
  5. 8:50Purpose and goals of coding guidelines
  6. 13:53Techniques for writing effective rules
  7. 23:50Q&A on static analysis feedback
  8. 25:07Problems with coding standards
  9. 37:29Over-reliance and productivity issues
  10. 49:21Conclusions and best practices
  11. 55:11Final Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.