rockerest’s avatarrockerest’s Twitter Archive—№ 19,258

  1. …in reply to @schizanon
    @yesiwebto Largely agree, although in my own code, I limit any function's cyclomatic complexity to 3, which often means fragmenting smaller behaviors into functions. I find the dead-simple logic paths to be a bigger win than the minor downside of more functions to look at.
    1. …in reply to @rockerest
      @yesiwebto It's also often a sign that if I A) struggle to reduce complexity or B) need to fragment into tons of functions, something is doing too much at once and needs refactoring attention.