3 ms·
added that every switch/if should handle this exhaustively. For any project with more than a few dozens of files, it is basically impossible to remember all the
by rty32 2y ago
added that every switch/if should handle this exhaustively. For any project with more than a few dozens of files, it is basically impossible to remember all the downstream code that uses the enum -- you have to track it down, or better, let compiler automate check all usages