we really shouldn’t have let Microsoft both fork an editor and buy GitHub, of course they were gonna turn one into a really shitty version of the other
anyway check this extremely valuable suggestion from Copilot in one of their screenshots:
The error message 'userld and score are required' is unclear. It should be more specific, such as 'Missing userld or score in the request body'.
aren’t you salivating for a Copilot subscription? it turns a lazy error message into… no that’s still lazy as shit actually, who is this for?
- a human reading this still needs to consult external documentation to know what userId and score are
- a machine can’t read this
- if you’re going for consistent error messages or you’re looking to match the docs (extremely likely in a project that’s in production), arbitrarily changing that error so it doesn’t match anything else in the project probably isn’t a great idea, and we know LLMs don’t do consistency
the C reactionaries[*] I know definitely aren’t ok, but that’s not a new condition. the cognitive load of never, ever writing bugs takes its toll, you know?
[*] and I feel like I have to specify here: your average C dev probably isn’t a C reactionary, but the type of fuckhead who uses C to gatekeep systems development definitely is