Pirates and C programming

I found a joke about pirates and C programming (which I though was funny;)

Q: How does a pirate pass parameters to a C program?
A: With "arrrrgv" and "arrrrgc".
«1

Comments

  • edited August 2009
    guybrushtongue.gif
  • edited August 2009
    gordy wrote: »
    guybrushtongue.gif

    agreed
  • edited August 2009
    For those who are not familiar with the C programming language:
    The arguments which were passed to the application when it was invoked are accessible inside the program via two variables, typically named argc for ARGumnetCount and argv for ARGumentValues.
  • edited August 2009
    We get it, still...
    gordy wrote: »
    guybrushtongue.gif
  • edited August 2009
    markotu wrote: »
    I found a joke about pirates and C programming (which I though was funny;)

    Q: How does a pirate pass parameters to a C program?
    A: With "arrrrgv" and "arrrrgc".

    ARRGHHHHHHV!!! :eek:
  • edited August 2009
    I thought all pirates learned programming from "Sea++ for beginners" from the voodoo library....
  • edited August 2009
    And here is a pirate's keyboard

    pirate_keyboard.jpg
  • edited August 2009
    gordy wrote: »
    guybrushtongue.gif

    This is accurate.
  • edited August 2009
    gordy wrote: »
    guybrushtongue.gif

    qft
  • edited August 2009
    gordy wrote: »
    And here is a pirate's keyboard

    pirate_keyboard.jpg

    I actually laughed out loud at this :D
  • edited August 2009
    I never was able to learn the whole thing on my own... but that was funny.
  • edited August 2009
    meander wrote: »
    I thought all pirates learned programming from "Sea++ for beginners" from the voodoo library....

    No no, Guybrush had his first programming lesson right before he fell into the quicksand in CMI.
  • edited August 2009
    Magwill wrote: »
    No no, Guybrush had his first programming lesson right before he fell into the quicksand in CMI.

    What,
    "That makes...syrup of ipecac. It seems logical."

    How does that count as a programming lesson?
  • edited August 2009
    tbm1986 wrote: »
    What,
    "That makes...syrup of ipecac. It seems logical."

    How does that count as a programming lesson?
    Python

    Yes its bad, but I love bad jokes!
  • edited August 2009
    I feel the urge to add another frighteningly bad C/adventure game joke. It works best in German, so I'm going to spare the English speaking folks for now.

    Warum sind nicht-Adventure-Spiele wie die Programmiersprache C?
    In beidem gibt's Null Zeiger.
  • edited August 2009
    And I suppose he would never have sorted out all the
    idols
    in Tales without a rather ingenious use of
    Perl (on a stick)
  • edited August 2009
    I feel the urge to add another frighteningly bad C/adventure game joke. It works best in German, so I'm going to spare the English speaking folks for now.

    Warum sind nicht-Adventure-Spiele wie die Programmiersprache C?
    In beidem gibt's Null Zeiger.

    Aber es gibt Null Zeiger fuer alle die Programmiersprachen! Wie ist das lustig?
  • edited August 2009
    Ich weiss, dass mein Deutsch scheisse ist. Also, ich muss Englisch zurueck.

    Ich werde meine Jacke bekommen...
  • edited August 2009
    Bei Zeigern denken die meisten Leute immer noch an C, weil sie da breitere Verwendung finden wie in jeder anderen Sprache (und vor allen Dingen komplexere). Aber hauptsächlich hab' ich C genannt, weil dieses Thread mit C begonnen hat.

    P.S. Dein Deutsch ist gar nicht so schlecht.
  • ssn626391689ssn626391689 Telltale Alumni
    edited August 2009
    I thought that joke was hysterical. A nice laugh in the middle of bugfixing. :)
  • edited August 2009
    What does Visual Parrot 2008 output when the code is missing a ;?
    Arrrr CS1002: ; expected

    I only laugh because its past midnight.
  • edited August 2009
    Bei Zeigern denken die meisten Leute immer noch an C, weil sie da breitere Verwendung finden wie in jeder anderen Sprache (und vor allen Dingen komplexere). Aber hauptsächlich hab' ich C genannt, weil dieses Thread mit C begonnen hat.

    P.S. Dein Deutsch ist gar nicht so schlecht.

    Es geht gut. Es tut mir leid. Du bist richtig. Andere Sprachen haben aehnlische Mechanismen aber sie heissen unterschiedlicher Namen. Naturlich denken wir ueber C, weil diese Gewidetitel C hast.

    *boege zum Bessermann und sich rausen*

    Sie versuchen, nett zu sein und Sie brauchen nicht zu sein. (Ja, ich benutzte Babelfish gegen das Ende.)
  • edited August 2009
    I used to use my German as a party piece (thinking myself so clever) but after meeting people like you, I hold my head in shame. Your English is as good as my (native) English will ever be, never mind my German!
  • edited August 2009
    I know German, I understood most of all of that, but I didn't get the Answer to the joke, I probably need to go crack open my dictionary to recheck all the words... =P

    EDIT: Ohhhh Zeiger is pointer, lol okay, I get it now.

    Anyway, for English speakers, the best way I can translate (and try to keep the joke)

    Why are non-adventure games like the C Programming language?
    Because they both have null pointers (In German null pointers translates to both "null pointers (as in the C term)" and "zero [implying lack of] pointers")

    In case anyone wanted to be in the loop.
  • edited August 2009
    I hate pointers in C++, they're the main thing I struggled with in my algorithms & data structures module.
  • edited August 2009
    I hate pointers in C++, they're the main thing I struggled with in my algorithms & data structures module.

    :O

    Pointers are the only things I really like with C/C++ :)
  • DjNDBDjNDB Moderator
    edited August 2009
    I hate pointers in C++, they're the main thing I struggled with in my algorithms & data structures module.

    Segmentation fault

    Nothing more fun then debugging others crappy source code... Even more fun when it's multi-threaded.
  • DjNDBDjNDB Moderator
    edited August 2009
    :O

    Pointers are the only things I really like with C/C++ :)

    I really like operator overloading and template classes and -functions.
  • edited August 2009
    I think this thread just POINTED in another direction...
  • [TTG] Yare[TTG] Yare Telltale Alumni
    edited August 2009
    Hold up guys, I got this.

    Q: Why don't pirates like combinatorial optimization of NP-complete problems?
    A: Because they're NP-Harrrrrrrrd.
  • edited August 2009
    I get it, being a programmer/nerd whatever.

    I thought it wasn't funny, though.
  • edited August 2009
    Hey, guys... If we move this over to IRC, we can tell each other some /KNOCK /KNOCK jokes.
  • edited August 2009
    Here's some code I typed for s***s and giggles:
    #include <string>
    #include <iostream>
    using namespace std;
    
    string recursiveParrot(int limit);
    
    int main ()
    {
       cout << recursiveParrot(2);
       return(0);
    }
    
    //precondition: limit must start == 2
    string recursiveParrot(int limit)
    {
        if (limit > 4)
           return "BRAAWWK!\n";
        if (limit > 3)
           return "cracker? " + recursiveParrot(limit+1);
        if (limit > 2)
           return "wanna " + recursiveParrot(limit+1);
        return "Polly " + recursiveParrot(limit+1);
    }
    

    Edit: I'd like a telltale programmer to please opine on my code.

    Edit: Fixed indentation. Legibility++.
  • [TTG] Yare[TTG] Yare Telltale Alumni
    edited August 2009
    Edit: I'd like a telltale programmer to please opine on my code.

    Serious: You should always program with readability and ease of use as your primary goals, followed shortly by efficiency. Clever code is not as impressive as clean, readable, well-documented code with a consistent interface! Minimalism is key!

    Internet serious:

    http://en.wikipedia.org/wiki/Duff%27s_device emotarghfist1.gif:mad:
    http://en.wikipedia.org/wiki/Obfuscated_code
    http://en.wikipedia.org/wiki/Brainf**k
  • edited August 2009
    [TTG] Yare wrote: »
    Serious: You should always program with readability and ease of use as your primary goals, followed shortly by efficiency. Clever code is not as impressive as clean, readable, well-documented code with a consistent interface! Minimalism is key!

    Internet serious:

    http://en.wikipedia.org/wiki/Duff%27s_device
    http://en.wikipedia.org/wiki/Obfuscated_code
    http://en.wikipedia.org/wiki/Brainf**k

    Thanks for the tips!
  • [TTG] Yare[TTG] Yare Telltale Alumni
    edited August 2009
    Nobody liked my complexity joke. :(
  • edited August 2009
    [TTG] Yare wrote: »
    Nobody liked my complexity joke. :(

    I'll like it in 4 years, when I have my degree in programming :)
  • edited August 2009
    gordy wrote: »
    guybrushtongue.gif

    :confused:
  • [TTG] Yare[TTG] Yare Telltale Alumni
    edited August 2009
    I am clearly the worst at jokes.
  • edited August 2009
    [TTG] Yare wrote: »
    Nobody liked my complexity joke. :(
    I liked it! :D
Sign in to comment in this discussion.