Crazy Code, Crazy Coders
summary
A rapid survey of concrete, production-proven errors and fixes: sanitized real snippets that crashed missiles, GPS and municipal systems, plus everyday bugs like uninitialized floats, wrong loop idioms, iterator vs index pitfalls, and broken range‑for usage. Demonstrations use C++17 and C++20 features, show immediately-invoked lambdas for safe initialization, and dig into floating-point pitfalls and iterator-based fixes, ending with practical coding rules and readable examples that either save or wreck systems.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 2:11Opening remarks
- 3:24Philosophy of programming
- 11:33Unfortunate production code
- 22:46Initialization and scope
- 34:16Looping best practices
- 42:06Range-based loops
- 52:24Booleans and simplification
- 1:01:05Arithmetic and precision
- 1:20:52Evaluation and clarity
- 1:37:35Closing thoughts
related talks
58m10 Techniques to Understand Existing Code
01h 31mLearning from C++ Juniors’ Mistakes
17mIf You’re Happy and You Know It (Inside the Mind of a Developer)
01h 01mReviewing Beginners' C++ Code
55mThe Floor is Lava, trying to teach C++
01h 08mKEYNOTE - Emotional Code
01h 39m“Learning and Teaching Modern C++”
01h 09mThe floor is lava, trying to teach C++
