this post was submitted on 29 Jul 2023
982 points (98.6% liked)

Programmer Humor

31260 readers
784 users here now

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

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 39 points 11 months ago* (last edited 11 months 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 11 months ago (1 children)

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

[–] [email protected] 8 points 11 months 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 11 months ago

Ambiguous fields, sounds like me fr

[–] [email protected] 2 points 11 months ago

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

[–] [email protected] 1 points 11 months ago

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