Like Tree59Likes

Programmer jokes

This is a discussion on Programmer jokes within the General Discussions forums, part of the Community Boards category; Originally Posted by Mario F. As we said in the preface to the first edition, C "wears well as one's ...

  1. #31
    Registered User
    Join Date
    Jan 2009
    Location
    Australia
    Posts
    375
    Quote Originally Posted by Mario F. View Post
    As we said in the preface to the first edition, C "wears well as one's experience with it grows." With a decade more experience, we still feel that way.
    -- Dennis Ritchie and Brian Kernighan
    Possibly not a joke but on the topic of 'Awesome things said by Dennis Ritchie''.

    Dennis was once asked "In your experience, how long does it take for a novice programmer to become a C programmer capable of writing non-trivial production code?"
    Dennis replied, "I don't know. I never had to learn C."

    (From the final minute or so of Al Aho from Columbia University at the Dennis Ritchie Tribute at Bell Labs - YouTube )

  2. #32
    Registered User
    Join Date
    Jun 2011
    Posts
    2,268
    This isn't a joke, but a riddle I once saw in a trade magazine. (I don't have the actual magazine anymore, so this was reconstructed from memory.)



    Two programming students working towards their PhD were given assignments by their professor. The professor told them whoevers program was completed last would be awarded the PhD. The two students spent a month writing out their programs as slowly as possible, and very little progress was made.

    They finally decided to seek assistance, and went together to visit a programming guru. They explained their situation to the guru, who offered his advice. Upon hearing it, both students ran back to the lab and began programming as fast as possible.

    What advice was offered by the guru?
    phantomotap and Elkvis like this.

  3. #33
    Epy
    Epy is offline
    Fortran lover Epy's Avatar
    Join Date
    Sep 2009
    Location
    California, USA
    Posts
    958
    Programs are never ever 'complete'? (Constant revisions)

  4. #34
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    Switch problems.

  5. #35
    Registered User
    Join Date
    Jun 2011
    Posts
    2,268
    Well done, tabstop!

  6. #36
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,436
    Race Condition.
    Who's there?
    Knock, knock...
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  7. #37

  8. #38
    Registered User Hodor's Avatar
    Join Date
    Nov 2013
    Posts
    650
    Here's a joke I just made up

    Code:
    #include <stdio.h>
    
    const int powersof10[] = {
        0001,
        0010,
        0100,
        1000
    };
    
    #define IDX_ONE         0
    #define IDX_TEN         1
    #define IDX_HUNDRED     2
    #define IDX_THOUSAND    3
    
    int main(void)
    {
        int meaningoflife;
    
        meaningoflife = 4 * powersof10[IDX_TEN] + 2 * powersof10[IDX_ONE];
    
        printf("The meaning of life is %d\n", meaningoflife);
    
        printf("Hmm... maybe not. Hodor?!\n");
    
        meaningoflife = 5 * powersof10[IDX_TEN] + 2 * powersof10[IDX_ONE];
    
        printf("The meaning of life is %d!!!\n", meaningoflife);
        
        printf("There. Fixed. Hodor.\n");
     
        return 0;
    }
    Hey... *I* think it's funny. I think. Err... carry on.
    africanwizz and Elkvis like this.

  9. #39
    Registered User
    Join Date
    Jun 2011
    Posts
    2,268
    Here's another one from my secret archive:

    The church wrote a program that takes ten dollars from your bank account every time you do something wrong. I don't agree with their syntax.
    Epy, Elkvis and Yarin like this.

  10. #40
    Registered User
    Join Date
    Nov 2008
    Location
    Bay Area, CA
    Posts
    53
    Not quite a joke, but the other day I saw a bumper sticker on a car that had this on it:

    /dev/car

  11. #41
    and the hat of copycat stevesmithx's Avatar
    Join Date
    Sep 2007
    Posts
    494
    Been using KDE/Awesome on Arch Linux for a while now.
    Below is an actual command that I use to terminate the file manager which freezes occasionally

    killall dolphin
    I wish PETA doesn't hear of this.
    Not everything that can be counted counts, and not everything that counts can be counted
    - Albert Einstein.


    No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
    - Herbert Mayer

  12. #42
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    1,044

  13. #43
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,856
    SELECT * FROM users WHERE clue > 0
    < no rows returned >
    new2C-, Sebastiani and Elkvis like this.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

Page 3 of 3 FirstFirst 123
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, 11:50 AM
  3. Jokes!
    By SAMSAM in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 04-29-2003, 09:44 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21