If it’s all if statements and if it uses well nested logic and if it’s written in a modern language and if the number of if statements doesn’t exceed 57, it could be good. Otherwise it is overly verbose. Otherwise it is dated. Otherwise it is spaghetti code. Otherwise it should go to the regular code check routine function.









In case you don’t know, C is the successor to B (which used imperial variables). There was a planned successor to C called D, which would use all unitless quantities, like they do in Fermi approximations, but it turns out those aren’t very good. That’s why we have C++ (which supports metric and imperial) instead.