• Shayeta@feddit.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 hours ago

      Hah, if those pesky devs think that they can play the system by just rolling up the code into a single line they got another thing coming - we’re actually tracking PR character count, NOT LOC like some other companies!

    • ViatorOmnium@piefed.social
      link
      fedilink
      English
      arrow-up
      15
      ·
      edit-2
      14 hours ago

      I’m not saying it’s a good individual metric. In fact, applying individual metrics to developers (or most workers really), will only land you in Goodhart’s hell.

      But as part of holistic operational health tracking, it’s a useful team level metric, as there is ample evidence that shorter PRs tend to result in less operational issues. And, of course, this is only valid if you don’t try to tie financial rewards to it, otherwise people will forget that PR size is a proxy measure for how easy changes are to review and rollback.