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.

you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 16 hours ago* (last edited 16 hours ago) (2 children)

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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 8 hours ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment