this post was submitted on 29 Jul 2023
1003 points (98.5% liked)

Programmer Humor

32549 readers
532 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 40 points 1 year ago* (last edited 1 year ago) (3 children)

Mmm. It's not going to happen though. Even this company have failed at standardising their own API.

Key for twitter: "twitter": Key for discord: "discordUsername":

Why are they inconsistent?! Who wrote this? Who signed off on it?!

Oh, and for GitHub you provide a url but for twitter and discord it's just the username?! But the twitter handle has to be prefixed with @. Why?!

[–] [email protected] 11 points 1 year ago (1 children)

Just send it with both "discord" and "discordUsername" for compatibility.

[–] [email protected] 8 points 1 year ago (1 children)

Years later, we're still trying to figure out which is deprecated and which is the "correct" field

[–] [email protected] 1 points 1 year ago

Ambiguous fields, sounds like me fr

[–] [email protected] 2 points 1 year ago

You could have different versions of the API that have a different requirements.

[–] [email protected] 2 points 1 year ago

I bet it just ends up in some poor bastards mailbox anyway. :)