PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Joke for programmers only!

Two strings walk into a bar.
The first string says:
"Bartender! I'll have a beer!lkadfOIEUR(#*(0938RIEu4"
And the second string says:
"Please excuse my friend. He isn't null terminated."
Is it bad that I get that?
sponge wrote:Is it bad that I get that?


Yes.
Bjorn Keizers · 25 May 2004, 06:08 UTC
Very.
Mechcommander · 25 May 2004, 16:23 UTC
Heh.
I actually wouldn't have gotten that joke yesterday.
Is it /dev/null or /mnt/null? I can't remeber.
Mechcommander wrote:Heh.
I actually wouldn't have gotten that joke yesterday.
Is it /dev/null or /mnt/null? I can't remeber.


And you still don't get it.
No, you don't Mech... unfortunately I do, although I really don't want to admit to it.
http://chortle.ccsu.edu/AssemblyTutoria ... s20_2.html

Short explanation on what null terminated strings are.
Mechcommander · 25 May 2004, 18:57 UTC
Ah. Oops.
I'll stop pretending to be smart now.
What is sad is that I laughed for a long time when I read that.
hahahahahahahahaha that is funny!
Village_Ideot · 27 May 2004, 19:14 UTC
Hmmm...., I've never used C or C++, only Java and VB...unless thats a memory reference at the end of the string, I don't get it.

If it is a memory reference...its not really that funny.
Whoah. I haven't seen VI in ages.
I can say loudly and proudly: I DON'T GET IT!
:D :D :D
I got it but didn't really think it was funny. Good enough for you?
Village_Ideot · 29 May 2004, 13:56 UTC
Yea, I still troll around here sometimes...