this post was submitted on 14 Sep 2025
820 points (99.4% liked)

Programmer Humor

26372 readers
1466 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] jj4211@lemmy.world 2 points 2 days ago

But what is the value of a 200 OK when the request absolutely failed? As a caller, I don't care that it successfully was conveyed but still utterly failed. Depending on my usage, I may only care about pass/ fail and the backend insisting I have to handle multiple different ways of expressing failure is just more work with no value.

Using 500 does nothing to preclude your application errors. If the caller wants nuance, it can still have it in the body or headers.