Re:Please do not attempt to simplify this code
by wccrawford on Friday December 28, 2018 @05:54AM
(#18776087)
>It’s human eyes that skim through all the cases, and look for a matching branch for every one of them that “ensures.”
Worse, they've made an exception for simple error checking, and the result is that the majority of the if statements at the top of the file have no else condition. Quickly scanning by eye doesn't help me determine if someone screwed up and missed a scenario.
Worse, they've made an exception for simple error checking, and the result is that the majority of the if statements at the top of the file have no else condition. Quickly scanning by eye doesn't help me determine if someone screwed up and missed a scenario.