this post was submitted on 28 Nov 2026
119 points (94.1% liked)

technology

24551 readers
142 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 6 years ago
MODERATORS
 

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
[–] ziggurter@hexbear.net 5 points 1 day ago* (last edited 1 day ago) (1 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.

[–] Speaker@hexbear.net 3 points 1 day ago (1 children)

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.

[–] ziggurter@hexbear.net 1 points 1 day ago

Absolutely agree.