3 ms·
switch statements are better for certain cases since the compiler can warn if you aren't handling an enum variant within it.
by tristan957 4y ago
switch statements are better for certain cases since the compiler can warn if you aren't handling an enum variant within it.