-
…in reply to @getify
getify I'm fairly sure (layman's understanding) that it's in the definition of "independent". Because the
falseclause of both guards is unhandled, they result in the same execution within this function: nothing. Were you to explicitly handle each false, case, even with an empty block -
…in reply to @rockerest
getify ..they would be cyclomatically independent, because the interpreter / compiler would have to visit each
elseblock independently of the other else block. As written, theelse"block" for each guard expression is handled in the same way, by doing nothing.