Thread: Programmer jokes

  1. #1
    Registered User camel-man's Avatar
    Join Date
    Jan 2011
    Location
    Under the moon
    Posts
    693

    Programmer jokes

    I thought some of these were entertaining and wanted to share.

    What is your best programmer joke?

    My favorite being

    Programmer jokes-random_number-png

  2. #2
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    That is a comic from XKCD ... whoever posted it did not give credit. Curse them.

    Secret: I've had a programming/engineering comic in the works for a while (nothing public yet). Here's a bit of nonsense from my archives (not sharing my 'A' material yet):

    Code:
    /*  spaghetti code */
    int boilingPot(int pasta, int sauce, int garlic)
    {
        return (pasta + sauce + garlic);
    }

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    A programmer has a problem. The programmer says "I know, I'll use threads." The programmer now has many problems.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  4. #4
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    A programmer has a problem. The programmer says "I know, I'll use threads." The programmer now has many problems.
    O_o

    A variation on Jamie Zawinski if you are curious.

    Soma
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  5. #5
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    Computer programming is like sex: every mistake, and every success, needs lifetime support.

    And ...

    A million monkeys on a million keyboards will eventually write a Java program. The rest write Perl.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

  6. #6
    Registered User
    Join Date
    Mar 2011
    Posts
    596
    2B || !2B

    Not exactly a joke, but interesting that it doesn't show up in a search.
    I first saw it back in the 80's.

    -

  7. #7
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    Quote Originally Posted by megafiddle View Post
    2B || !2B

    Not exactly a joke, but interesting that it doesn't show up in a search.
    Doesn't compute either.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

  8. #8
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    Quote Originally Posted by Matticus View Post
    That is a comic from XKCD ... whoever posted it did not give credit. Curse them.
    Please, do you curse a musician for failing to credit Beethoven for the Moonlight Sonata? Everyone here knows xkcd when they see it, no crediting is necessary.

  9. #9
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by grumpy View Post
    Doesn't compute either.
    there's probably some language out there that allows identifiers that start with a digit or literal hex values without a 0x or &H prefix.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  10. #10
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    Quote Originally Posted by Yarin View Post
    Please, do you curse a musician for failing to credit Beethoven for the Moonlight Sonata? Everyone here knows xkcd when they see it, no crediting is necessary.
    False comparison. We're talking about an easily copied image on the internet, not a musical performance of staggering beauty.

    And I'm sure the vast majority of public performances of Moonlight Sonata are indeed credited.

    Regardless, Moonlight Sonata is a very well known piece in our culture, whereas the work of xkcd is not (relatively speaking).

    Everyone here knows xkcd when they see it, no crediting is necessary.
    Unfounded assumption. Maybe not everybody here knows xkcd. Or quite possibly non-members might stumble onto this thread and not know the source. The posting of the image implies a respect for the work of the author, so why not fully respect them and give them credit?

    Besides, if everybody thought that way, I never would have known about xkcd myself.

  11. #11
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    Quote Originally Posted by megafiddle View Post
    2B || !2B

    Not exactly a joke, but interesting that it doesn't show up in a search.
    I first saw it back in the 80's.

    -
    Hope this makes it a little more clear:
    Quote Originally Posted by Hamlet
    0x2B | ~0x2B = 0xFF

  12. #12
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  13. #13
    misoturbutc Hodor's Avatar
    Join Date
    Nov 2013
    Posts
    1,787
    There are 25 kinds of people in this world: those who understand binary and those who don't

  14. #14
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by Hodor View Post
    There are 25 kinds of people in this world: those who understand binary and those who don't
    I've always seen this one written as "there are 10 types of people in this world..." yours doesn't really make any sense relative to the joke, because 25 is 0x19 hex, 031 octal, and 11001 binary.

    on the other hand, there are actually two types of people: those who can extrapolate from incomplete data.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  15. #15
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    O_o

    There are 10 kinds of people in this world: those who celebrate oct 31

    Soma
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Programmer Jokes: Is it really that obvious?
    By BHXSpecter in forum General Discussions
    Replies: 16
    Last Post: 09-17-2012, 02:46 PM
  2. Mormon Jokes!
    By sean in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 12-31-2004, 12:50 PM
  3. Jokes!
    By SAMSAM in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 04-29-2003, 09:44 PM