15
submitted 1 day ago* (last edited 1 day ago) by sbeak@sopuli.xyz to c/programmer_humor@programming.dev

Here are some bad puns that are to do with data types. I'm sorry. Comment down some of your own concoctions!

  1. What does a programmer say when they is accused of lying? I promise I'm not boolean you!

explanation of the puns"Fooling" sounds very similar to "boolean", the latter being a data type commonly used when programming. Yes I will be explaining each and every pun. Yes, these puns are not very good at all, I'm not a professional comedian.

The one in the title is a play on words, as "Charlotte's Web" is a book that can be represented using a series of strings, a data type commonly used for storing words and letters, while a literal web is made of strings of silk.

  1. You try to pay with $100 of Monopoly money. in a supermarket. The cashier tells you that it's unfortunately not real.

explanation of the punMonopoly money does not have cents and is made of whole numbers, so it is an integer value, not of the "real" data type!

  1. What would you call fuel made of alphabet soup? CHARcoal!

explanation of punThe data type char stores characters, like the letters of the alphabet. This is a play on words with the word "charcoal", a common fuel used in barbeques and such.

  1. How do Japanese programmers read arrays? By decrementing from -1!

explanation of punMany Japanese texts read from right to left rather than left to right. Reading an array in reverse other would start at -1, getting the last item in the array, and the index would decrease from there. This is in contrast to the non-reverse order of increasing the index 0/1. (Of course, Japanese programmers don't actually read arrays like this usually)

not related to data types, but just came up with it as I was typing this:

f. What did the Python user say to the C++ user when they spilled coffee on their laptop? OOPs!

explanation of the punPython uses object oriented programming, or OOP

all 16 comments
sorted by: hot top new old
[-] mEEGal@lemmy.world 4 points 18 hours ago

Man, these are bad jokes...

[-] sbeak@sopuli.xyz 2 points 18 hours ago

Indeed they are

[-] RedStrider@lemmy.world 2 points 16 hours ago* (last edited 16 hours ago)

i got one.

why is christmas an object?

answerbecause it's null

[-] ch00f@lemmy.world 14 points 1 day ago

Yo momma's so fat, she sat on a binary tree and squashed it into a linked list in O(1) time.

[-] anton@lemmy.blahaj.zone 2 points 16 hours ago

Yo momma's so fat she compresses everything she steps on to its Kolmogorov complexity.

[-] RobotFK@lemmy.blahaj.zone 3 points 1 day ago
[-] luciferofastora@feddit.org 2 points 9 hours ago

Pretty sure humans are perfectly capable of producing organic, naturally generated slop.

For instance, corporate writing culture at my company has trained me to liberally sprinkle dashes into my speech—wrongly, I concede, because the person I adopted it from doesn't use them correctly either. I tend to use en-dashes (–) instead of em-dashes (—), put spaces and haven't got an intuitive handle on where to use which of them. On Linux, my keyboard does them on Ctrl+Alt+-, on Windows codes 2013 and 2014 +Alt+X, in markdown/HTML it's – or mdash and on my phone it's a long press on -.

Since the rise of LLMs, however, the character has been associated with machine-writing since people don't normally use it (because it's not as convenient as simply putting a - on most keyboards), which has led to people wrongly classifying my writing as AI slop.

I assure you: it isn't. I don't need machines to do my train-of-thought rambling for me or insert artificial mistakes. I just suck naturally.

[-] sbeak@sopuli.xyz 3 points 18 hours ago

Unfortunately not. I am just pretty bad at making puns

[-] SpaceNoodle@lemmy.world 5 points 23 hours ago

It actually seems to make too little sense for that.

[-] SpaceNoodle@lemmy.world 10 points 1 day ago

These make no sense.

  1. "Boolean" does not rhyme with "fooling," or even "foolin'." Maybe "bullying."

  2. Integers are real numbers.

  3. How would you make a dry, solid fuel from soup?

  4. Array index -1 is almost always out-of-bounds on an array.

f. C++ is far more suited for OOP than Python.

Also, who counts "2, 3, 4, 5, f?"

[-] sbeak@sopuli.xyz 1 points 18 hours ago
  1. Fair enough

  2. Fair enough, but I'm talking about the data type "real" (which could technically be used to store whole numbers, but since Monopoly money doesn't have cents, we're assuming it's stored as integer data type rather than real data type)

  3. You have a good point.

  4. In many languages, array index -1 puts you on the end of array (the last item), -2 is second last, etc

f. Is it? If it is then I'm just uninformed.

1 was the one in the title, and it's "f" since it's not data type related it's an extra one (6th letter in the alphabet)

[-] SpaceNoodle@lemmy.world 3 points 18 hours ago

f is hexadecimal for 15, which could have been more clever

real is inherently unsuitable for human currencies since those are usually accounted for in cents or hundredths of cents, and floating-point rounding errors are not great for financial accountability, so rational formats with a denominator of 100 or 10,000 would be more suitable.

[-] sbeak@sopuli.xyz 1 points 18 hours ago

I feel like the pins would get worse if I had to come up with 15

Fair enough actually. But if you were doing a Computer Science paper and given proper money (e.g. $2.80) you would need to answer real, and given Monopoly money (increments of $50 I believe) you would answer integer. It turns out the real world (no pun intended) is more complicated...

[-] SpaceNoodle@lemmy.world 2 points 17 hours ago* (last edited 17 hours ago)

Not a problem, I'm sure they couldn't get worse.

The best answer for a basic CS exam would probably be to say to use an integer to store dollars, and an another to store cents.

[-] sbeak@sopuli.xyz 2 points 1 day ago

Continuation of 2:

The other programmer responds, I can tell that your statement was false

this post was submitted on 10 Feb 2026
15 points (74.2% liked)

Programmer Humor

29648 readers
1264 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