• limdaepl@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    Most people have learned by now, that “lines of code“ is a terrible metric for evaluating productivity. Why are we doing the exact same thing with AI tokens now?

    • Slaxis@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      I’m no developer, just so some casual scripting for my job, but lines of code being a performance metric is a hilarious notion. Like, the indicator of good code is that it’s efficiently written in a small number of lines. It’s similarly just as easy to waste tokens on nothing of value.

      • kureta@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        I love this story:

        A division of AppleComputer started having developers report LinesOfCode written as a ProductivityMetric. The guru, BillAtkinson, happened to be refactoring and tuning a graphics library at the time, and ended up with a six-fold speedup and a much smaller library. When asked to fill in the form, he wrote in NegativeLinesOfCode. Management got the point and stopped using those forms soon afterwards.

    • halcyoncmdr@piefed.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      Because middle manglement has a constant compulsive need to justify their existence by finding new ways and metrics to “manage”.

    • mabeledo@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      You would be surprised to know how many managers still rely on this metric, even if it’s not part of their KPIs.

    • AA5B@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      Before ai, my company’s misguided kpi was the number of merge requests

      At least that one worked well for me since I’m generally making many small changes to an existing code base