• ddh@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    As your future colleague wondering what the hell that variable is for, thanks Go.

    • MJBrune@beehaw.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      11 months ago

      A quick “find all references” will point out it’s not used and can be deleted if it accidentally gets checked in but ideally, you have systems in place to not let it get checked into the main branch in the first place.

    • Willem@kutsuya.dev
      cake
      link
      fedilink
      arrow-up
      0
      ·
      11 months ago

      I prefer for it to be just a warning so I can debug without trouble, the build system will just prevent me from completing the pull request with it (and any other warning).