4 ms·
Commenting out the exception throwing code would likely lead to even more difficult-to-understand bugs (something after the now-commented-out throw would probab
by paul 19y ago
Commenting out the exception throwing code would likely lead to even more difficult-to-understand bugs (something after the now-commented-out throw would probably fail, possibly corrupting data). It's better to fail early.