this post was submitted on 22 Mar 2025
761 points (100.0% liked)

Programmer Humor

23119 readers
740 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
[–] [email protected] 75 points 1 month ago (15 children)

I know an architect who designs APIs this way. Also includes a status code in the response object because why have one status code when you can have two, potentially contradictory, status codes?

[–] [email protected] 50 points 1 month ago (3 children)

I inherited a project where it was essentially impossible to get anything other than 200 OK. Trying to use a private endpoint without logging in? 200 OK unauthorized. Sent gibberish instead of actual request body format? 200 OK bad request. Database connection down? You get the point...

[–] [email protected] 15 points 1 month ago

Computer version of dude wincing through the pain, tears in eyes, giving you a thumbs up.

load more comments (2 replies)
load more comments (13 replies)