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".
Q: How does a pirate pass parameters to a C program?
A: With "arrrrgv" and "arrrrgc".
Sign in to comment in this discussion.
Comments
agreed
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.
ARRGHHHHHHV!!! :eek:
This is accurate.
qft
I actually laughed out loud at this
No no, Guybrush had his first programming lesson right before he fell into the quicksand in CMI.
What,
How does that count as a programming lesson?
Yes its bad, but I love bad jokes!
Warum sind nicht-Adventure-Spiele wie die Programmiersprache C?
Aber es gibt Null Zeiger fuer alle die Programmiersprachen! Wie ist das lustig?
Ich werde meine Jacke bekommen...
P.S. Dein Deutsch ist gar nicht so schlecht.
I only laugh because its past midnight.
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.)
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?
In case anyone wanted to be in the loop.
:O
Pointers are the only things I really like with C/C++
Segmentation fault
Nothing more fun then debugging others crappy source code... Even more fun when it's multi-threaded.
I really like operator overloading and template classes and -functions.
Q: Why don't pirates like combinatorial optimization of NP-complete problems?
I thought it wasn't funny, though.
Edit: I'd like a telltale programmer to please opine on my code.
Edit: Fixed indentation. Legibility++.
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 :mad:
http://en.wikipedia.org/wiki/Obfuscated_code
http://en.wikipedia.org/wiki/Brainf**k
Thanks for the tips!
I'll like it in 4 years, when I have my degree in programming