this post was submitted on 22 Mar 2025
716 points (98.8% liked)

Programmer Humor

25726 readers
1176 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
[–] CrackedLinuxISO@lemmy.dbzer0.com 28 points 4 months ago* (last edited 4 months ago) (5 children)

At a prior job, our ~~API~~ load balancers would swallow all errors and return an HTTP 200 response with no content. It was because we had one or two clients with shitty integrations that couldn't handle anything but 200. Of course, they brought in enough money that we couldn't ever force them to fix it on their end.

[–] bleistift2@sopuli.xyz 5 points 4 months ago (2 children)

Why not POST /to/the/api?withCorrectErrorCodes?

[–] CrackedLinuxISO@lemmy.dbzer0.com 5 points 4 months ago

There was nothing RESTful or well planned about this API's interfaces, and the work to do something like that would have been nontrivial. Management never prioritized the work.

load more comments (1 replies)
load more comments (3 replies)