• @bus_factor
    link
    251 year ago

    Golang won’t even compile with dead code. Unfortunately that’s too strict, you just end up commenting out the whole block instead. At least the commented out code is obvious in review, and some automated checks catch it if you have them.

    • @[email protected]
      link
      fedilink
      31 year ago

      commenting out the whole block

      var foo is declared but not used is such a pain in my asshole when doing this.