rockerest’s avatarrockerest’s Twitter Archive—№ 11,651

    1. …in reply to @getify
      getify I'm fairly sure (layman's understanding) that it's in the definition of "independent". Because the false clause 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
  1. …in reply to @rockerest
    getify ..they would be cyclomatically independent, because the interpreter / compiler would have to visit each else block independently of the other else block. As written, the else "block" for each guard expression is handled in the same way, by doing nothing.