558
submitted 2 weeks ago by [email protected] to c/[email protected]

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
[-] [email protected] 4 points 2 weeks ago

Yep. Much like we don't treat phone numbers like a number. The rule of thumb is that if you don't do any arithmetic with it, it is not a "number" but numeric.

[-] [email protected] 1 points 1 week ago* (last edited 1 week ago)

Well, we don't, but every electonic tables software out in the wild on the other hand…

/jYes, I know that you can force it to become text by prepending ' to the phone, choose an appropriate format for the cells, etc, etc

The point is that this often requires meddling after the phone gets displayed as something like 3e10

this post was submitted on 30 Jun 2024
558 points (98.1% liked)

Programmer Humor

18388 readers
529 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