• @chuckleslord
    link
    12 hours ago

    //TODO: Refactor this method Git commit date: 10‐11‐2016

  • @kautau
    link
    76 hours ago

    As long as “cleaner than you found it” also includes “better documented.” I’ve worked with people who think that “the code should speak for itself” to the point that they will make biased decisions with no explanation or documentation and then if you ask them about it after their response is “look at the PR for how that decision was made.” I’m not going to git blame and find your PR to find an outcome from an argument between two people that after scrolling just says “sometimes the API returns a JSON string here instead of nested JSON so we have this conditional” when that could be a comment

  • @[email protected]
    link
    fedilink
    158 hours ago

    Hey boss, I’m logging this ticket as tech debt. We need to take this on to hit our marketing deadline, and as soon as the project is over we need two scrum cycles to resolve it.

    Two years later…

    This ticket has been open forever, can we just delete it since nobody is ever going to clean this up? It’s messing up our velocity metric.

    • @[email protected]OP
      link
      fedilink
      10
      edit-2
      9 hours ago

      Few of the good ones I’ve spotted:

      (complicated business logic in messy code) // TODO: check

      (…) // TODO: think about better naming

      (…) // TODO: This is obviously shit and needs to be changed.

      (…) // TODO: THIS IS NOT USED ANYWHERE CONSIDER REMOVING ALTOGETHER (comment made 3 years ago)

      • Kalkaline
        link
        fedilink
        39 hours ago

        Break the code altogether and abandon it forever and just start over.