6 ms·
Tests and warnings compliment each other nicely. "My, you're looking testy today!" ... burgerbrain points out something very important: Code bases with warni
by palish 15y ago
Tests and warnings compliment each other nicely.
"My, you're looking testy today!" ...
burgerbrain points out something very important: Code bases with warnings tend to be degenerate.
Tend to. SQLite is not one of them. But I've seen several large codebases. The two which were beautiful also had zero warnings, and the ~dozen others ranged from "meh" all the way down to "lol, grab a snickers".
This is obviously not enough data to draw any meaningful statistical conclusions from --- but it would be silly to ignore it completely. Good C/C++ programmers tend to respect compiler warnings.