this post was submitted on 30 Jun 2024
563 points (98.3% liked)

Programmer Humor

19623 readers
76 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 1 year ago
MODERATORS
 

Meme transcription:

Panel 1: Bilbo Baggins ponders, “After all… why should I care about the difference between int and String?

Panel 2: Bilbo Baggins is revealed to be an API developer. He continues, “JSON is always String, anyways…”

you are viewing a single comment's thread
view the rest of the comments
[–] veganpizza69 6 points 5 months ago (2 children)

It's the API's job to validate it either way. As it does that job, it may as well parse the string as an integer.

[–] [email protected] 6 points 5 months ago (1 children)

I refuse to validate data that comes from the backend I specifically develop against.

[–] Thcdenton 8 points 5 months ago