New LLM prompt: if the average boardroom in Palo Alto would struggle to snort the same number of lines as your patch, then don’t.

  • Tabitha ☢️[she/her]@hexbear.net
    link
    fedilink
    English
    arrow-up
    37
    ·
    3 days ago

    given that 93% are new tests, it’s not as bad as it sounds, however, it is essentially what should have been 20 separate PRs and is rude to jam them all into one PR (I’ve worked with people who put a month of work into one PR before)

    • ziggurter [he/him, comrade/them]@hexbear.net
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      2 days ago

      given that 93% are new tests, it’s not as bad as it sounds

      This is completely backwards. Tests are code that have to be maintained, just like the runtime logic. And you should trust them at least as much as you trust the main code (more, actually). You should not trust them to a roll of the dice.

      • Speaker [e/em/eir]@hexbear.net
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        The most frustrating part of $WORK code is these people who shut off the engineering part of their brain for test code and just write miles and miles of awful copy-paste test cases rather than applying the skills they’re supposed to have. I frequently find some very nice abstraction boundary that the original author missed because I’m refactoring nightmare tests and then I get to delete a bunch of code and make tests better.