~/talk

Learning from C++ Juniors’ Mistakes

Talkat ACCU 2022 · 2022-04-06..04-09· [career-development, testing]
slides:none on file

Course uses a demo project and a graded exercise (container-ship → 3D stacks) as a case study and finds concrete, repeatable junior errors: many teams copy or tweak the example instead of understanding it (34% worked on the example directly 49% copied snippets 16% partially), common defects include unnecessary allocations and raw pointers, accidental vector of optionals designs, swallowed exceptions, missed move semantics, UB that sanitizers sometimes miss, and liberal copy‑paste; 90% say the demo helped, tests and targeted code review (API fit, licenses, explicit ownership) stop most problems.

AI-written summary · about

  1. 0:00Intro
  2. 2:00The Transition
  3. 5:07Questions
  4. 5:29Coding by example
  5. 6:46Another example
  6. 7:57Example from the book
  7. 9:29Coding by examples
  8. 10:15Code mistakes
  9. 14:35Fast and slow thinking
  10. 17:37Should an excel snippet be tested
  11. 17:53Trial and error debugging
  12. 19:05C but its not an argument
  13. 22:35Examples are problematic
  14. 24:45Dont use examples
  15. 25:08Legal note
  16. 25:53Out of bounds access
  17. 32:35Syllabus
  18. 33:30Exercise
  19. 39:23Demo Project
  20. 45:22Example Project
  21. 46:57Mistakes
  22. 50:52LoadUnload
  23. 54:57Helper function
  24. 55:22Simplify boolean
  25. 57:55Duplicate code
~/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.