Overview
Explore Jens Weller's comprehensive presentation from C++Now 2014, delving into common coding pitfalls and best practices in C++ development. Learn about typical problems faced by developers, examine real-world examples of poor code (0xBADC0DE), and understand the consequences of memory leaks and suboptimal class design. Discover effective strategies for dealing with and preventing bad code, including proper initialization patterns, modularization techniques, and the importance of fostering a positive code culture. Gain insights into layers of engineering, anti-patterns to avoid, and practical tips for improving overall code quality in C++ projects.
Syllabus
Intro
Meeting C++
Who is the poor man?
Typical Problems
Examples of OxBADCODE
Code Example 100
Memoryleaks
Layers of Engineering
Classdesign
Monsters
Init 'Pattern
Switches
Anti Patterns
Dealing with bad code
Dealing with using bad code
Prevention
While I'm at Libraries...
Modularize your Application
Bad Code Culture
Taught by
CppNow