110 comments

[ 5.3 ms ] story [ 174 ms ] thread
I got one to contribute.

Q: How do you obtain a random string?

A: Put a freshman compsci student in front of a vim terminal and tell him to save and quit.

"Oh, how I wish I could quit you!" First time VIM users
Definitely the right answer to gpg's "Please do some other work to give the OS a chance to collect more entropy!"
While pair programming: "There!! It compiles!"..... SHIP IT!
Once, Chuck Norris tried to code. The world went into a loop.
Working on a coding project, one programmer asks the other who wrote up these project specifications?

Other programmer says: I can't tell you where the specs were designed, but be careful, the paper is still hot.

When Chuck Norris throws an exception, it’s across the room.
Any test for equality on ChuckNorris fails. He has no equals.

Chuck Norris invented programming. Why do you think it began with punch cards?

Chuck Norris never gets thread contention; threads cooperate if they want to live.

If Norris doesn't like your site, he duck-punches your Javascript until it works.

I attempted to kill -9 Chuck Norris and my keyboard shocked me for my impudence.

Chuck Norris can write Haskell... in assembler.

My program won't compile, I think I've lost one of my bits, can you help me find it? I think I dropped it on the carpet over there, it may have rolled under the desk.
One archangel to another:

Hey Gabe! Come over here... someone on earth has found a bug in your physics program.

Dear me, I thought I'd fixed that centuries ago.

Oh well, better late than never.

'tappity, clickety, tappity'. 'make; make deploy'

There, that'll do it. Another aeon, another bugfix.

--

http://en.wikipedia.org/wiki/Cold_fusion

I know one about UDP, but it's ok, I don't know if you would get it.
I've heard this one phrased a bit differently:

I know a joke about UDP, but you might not get it..

I told this joke in front of an audience, in a one-man standup routine. It was titled "Multicast"
LOL. Is this a reference to the lack of error checking and ACK in UDP?
I don't know if you would get it. I know one about UDP, but it's ok,
UDP packet walks into a bar. Bartender doesn't acknowledge him.
The final exam in my Networks class had a section with jokes and comics and you had to explain why they were funny. The following two were on it, among others:

The great thing about TCP jokes is you always get them.

A TCP packet walks into a bar and says, "I want a beer." The bartender asks, "You want a beer?" and the TCP packet says, "Yes, a beer."

I know one about the GNOME text editor, but it's ok, you might not gedit.

This one is obviously better when telling someone in person...

A programmer walks into a bar and orders 1.00000000001000000...897175 root beers. The bartender says, "I'll have to charge you extra; that's a root beer float". And the programmer says, "In that case, make it a double".
As someone who just recently tangled with floating point error, that was hilarious!
Archivist here. The reason this page exists is it's part of an archive of deleted Stack Overflow content: http://meta.stackoverflow.com/questions/124850/unofficial-st...

The "programmer joke" and "programmer cartoon" questions were two of the most highly upvoted questions that have since been removed from the site because they aren't actually programming questions. I created this archive to attempt to preserve some of this early history of Stack Overflow.

Compiler? I don't even know her!
When you have the attention of more than 3 passionate guru programmers, ask:

"Does the curley brace go on the first line of the for loop or on the next line?"

Laugh at any opinion given, calling them "silly".

Q. What is the object oriented way of getting rich?

A. Inheritance

When reading/reviewing a particularly bad piece of code in front of the person who wrote it, say:

If your language had true garbage collection, the compiler would have deleted this program upon execution.

A hacker walks into a bar. He sits at the counter for a few minutes and the bartender walks over.

He takes a look at the hacker and says "Ain't ya gonna have a drink?"

The hacker looks back almost offended "Don't you know, drinking is a sin!"

"ACK." Says the bartender, and he walks away.

q: why cant a hacker tell the difference between halloween and christmas a: because Dec. 25 = Oct. 31
q: why cant a hacker tell the difference between halloween and christmas a: because Dec. 25 = Oct. 31
Programmer asks for some advice on what data structure to best map his family tree:

2nd Programmer says: For you I would suggest a "directed acyclic graph".

But that's the right answer! How many distinct ancestors do you think you have 40 generations ago? We're all inbred by the pigeon-hole principle.
I had a problem, so I thought I'd use Java. Now I have a ProblemFactory.
I believe the class you’re looking for is “ProblemFactoryManagerThreadLocalSingletonBeanAdapter”.
Two Programmers are walking along the sidewalk when both simultaneously spot a hundred dollar bill on the ground between them. They begin a lively discussion of the nature of the problem, what is right? What is moral, what is just? What would people of various religions say? Should we split it? Does might make right? They spend hours discussing the fascinating problem and what should be done about it. They finally decide to settle things like the enlightened manner appropriate for civilized beings. A game a rock paper scissors. While performing the game, a Religious figure runs up, grabs the money, waves around a knife and disappears back into the crowd.