Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore real-world C++ bugs and testing methodologies in this conference talk from C++ on Sea 2024. Learn why code should be considered broken until proven working through testing, despite C++'s low-level complexities that often make testing challenging. Follow along as Robert Leahy, an ISO C++ committee member and financial infrastructure developer, demonstrates actual C++ bugs, presents the test code implemented to verify their fixes, and explains the code structures that facilitate effective testing. Gain insights into why unit testing should be treated as an essential practice rather than an optional luxury in C++ development. Drawing from his experience in graphics, gaming, and financial systems, Leahy provides practical approaches to proving code correctness through comprehensive testing strategies.