The 24 Best/Worst Programming Jokes

Need a break? I’ve scoured the web (or at least a REDDIT thread or two) for the best programming jokes, so you don’t have to. Here are 24 worth posting…

Two Dozen “jokes”:

A common programming solution is to use threads. But then, two ‘llyou hav erpoblesm.
Knock, knock.
Race condition.
Who’s there.
I’ve got a really good UDP joke to tell you, but I don’t know if you’ll get it
A guy walks into a bar and asks for 1.014 root beers.
The bartender says, “I’ll have to charge you extra, that’s a root beer float”.
So the guy says, “In that case, better make it a double.”
An SEO expert walks into a bar, pub, public house, inn, restaurant, club.
Why is it that women find C to be more attractive than Java?
Because C doesn’t treat them like objects.
There are 10 kinds of people in this world: Those who understand binary, those who don’t.
If you like infinite loop jokes, check this one out.
In order to understand recursion you must first understand recursion.

But that’s only 9? The next 10 are here! Programming Jokes – Page 2

These and others from various sources including: Source 1, Source 2

9 comments on “The 24 Best/Worst Programming Jokes

  1. A guy walks into a bar and asks for 1.014 root beers.
    The bartender says, “I’ll have to charge you extra, that’s a root beer float”.
    So the guy says, “In that case, better make it a double.”

    Why is this funny?

    1. Because if you paste this code in the terminal it will show you a video of a bartender and a guy laughing. It is a very old Linux joke. It is really cool. A classic joke 😀

    2. Float and Double refer to data types. He’s not asking for more root beer, he’s asking the bartender to make the root beer ‘float’ a double so as to save money. It’s still the same amount of root beer.

    3. Floats take up more memory and thus “cost” more than an int. As long as he’s incuring more cost, might as well be a double. That or 2 root beers cost as much as a root beer float…lol

    4. I searched the internet for “Programming joke Root Beer Float” and found this page.

      It’s funny because it’s what everyone is thinking.

    5. I have a really dry sense of humour, so I can answer this, though I’m sure you get the joke, and just find it not humourous…. he asked for a fraction of root beer, normally you would get an integer amount. since he wanted a portion, the bartender pointed out it made the root beer amount a type of “float” (not whole number…), and the guy quips back that the type of “double” should be used (the difference between floats and doubles as type is doubles are 64 bit and floats are 32). that’s why this is on a list of “best/WORST” programming jokes haha ^_^

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.