~/talk

Zen and the Art of Code Lifecycle Maintenance

Talkat CppCon 2021 · on Friday, 2021-10-29· at 07:45· Online B, online· [soft-skills]
slides:none on file

Six concrete takeaways: define six orthogonal qualities (correctness, applicability, reliability, efficiency, evolvability, reasonability), use the type system and tests as primary tools, and treat IO errors and logic-contract errors differently. Techniques demonstrated include property-based testing (Catch generators) and fuzzing, C++23 std::optional .map/.or_else and mention of std::expected / Boost.Outcome, plus Compiler Explorer comparisons that show an immediately‑invoked lambda version can save ~40 assembly lines versus naive code.

AI-written summary · about

  1. 0:00Intro
  2. 2:41Software Quality
  3. 5:30What is Software Quality
  4. 8:05What is Structural Quality
  5. 12:16Six Qualities
  6. 13:40correctness and applicability
  7. 15:50alignment track
  8. 20:03code coverage
  9. 24:59error paths
  10. 27:52example code
  11. 31:46error codes
  12. 33:21Logic errors
  13. 37:21Bounded integers
  14. 40:54Reasonability
  15. 46:48Reasonability and Efficiency
  16. 49:51Function of Programming
  17. 55:53PropertyBased Testing
  18. 57:09Summary
  19. 58:25Zen
~/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.