Algorithms + Data Structures = Programs cover image

Episode CX: Compiler Diagnostics

Algorithms + Data Structures = Programs

00:00

C++ Diagnostics That Aren't Format Strings Are Often Bad Diagnostics

A lot of poor quality C++ diagnostics are because of diagnostic messages like this. The simplest form of assertion in C, you know, the simplest form of assertions in C, is to check something and then if it fails, it just as assertion failed. Bad diagnostics that don't substitute in context from the source of the error are often bad diagnostics. F strings for the win.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app