A group of 4 Microsoft .NET programmers and a group of 4 Java programmers are going on a train to an expo. The MS programmers buy a ticket each, and then watch the Java programmers proceed to buy one ticket between them.
The MS programmers are intrigued and when they get on the train, they watch the Java programmers to see what they do when the guard comes to check the tickets. It turns out that, before the guard comes, they all cram into the toilet. The guard knocks on the door, and asks for the ticket. The guard takes it from under the door, and slides it back.
The MS programmers are all impressed, so on the way back, they buy only one ticket. Only to watch the Java folks get on the train without buying a ticket at all.
When they get on the train, the MS people cram into the toilet, as they saw the Java folks on the earlier journey. The Java programmers then knock on the door, and say “Ticket please”. The MS programmers slide the ticket under the door, as they saw the Java programmers do earlier.
“Thank you”, they say. “You steal our methods, but you don’t understand them.”
A young Java developer and his project manager board a train headed through the mountains on its way to Wichita. They can find no place to sit except for two seats right across the aisle from a young woman and her grandmother. After a while, it is obvious that the young woman and the young programmer are interested in each other, because they are giving each other looks. Soon the train passes into a tunnel and it is pitch black. There is a sound of a kiss followed by the sound of a slap.
When the train emerges from the tunnel, the four sit there without saying a word. The grandmother is thinking to herself, “It was very brash for that young man to kiss my granddaughter, but I’m glad she slapped him.”
The project manager is sitting there thinking, “I didn’t know the young tech was brave enough to kiss the girl, but I sure wish she hadn’t missed him when she slapped me!”
The young woman was sitting and thinking, “I’m glad the guy kissed me, but I wish my grandmother had not slapped him!”
The young programmer sat there with a satisfied smile on his face. He thought to himself, “Life is good. How often does a guy have the chance to kiss a beautiful girl and slap his Ppoject manager all at the same time!”
Two ints and a Float walk into a bar. They spot an attractive Double on her own.
The first int walks up to her and say: “Hey baby, my VM or yours?”. She slaps him and he walks back dejected.
The second int walks over. “Hey cute-stuff, can I cook you ‘Beans’ for breakfast?” After a quick slapping, he too walks back.
Then the Float ambles over casually: “Where those two primitive types bothering you?”, he remarks.
“Yes, I’m so glad you’re here”, she says. “They just had no Class!”
A bunch of 17 year olds – ClassCast, IllegalArgument and ArrayIndexOutOfBounds – decide to take their chances, and try to get served at the bar.
The Bartender takes one look at them, and asks them for ID.
ClassCast hands over his fake ID, IllegalArgument hands over his brother Throwable’s ID, but ArrayIndexOutOfBounds doesn’t have any fake ID.
The Bartender says “Sorry guys, you’ll have to leave unless I can see some ID”.
ClassCast pleads with the barman “Can’t you just bend the rules for us?” and the barman says “Sorry, no Exceptions“.
Two session beans in love are sitting cuddled close together:
“Oh Jarling, my Singleton!”, the female session bean exclaims.
“Let’s go Home and Make love.”, the male session bean replies.
“But we can’t”, the female session bean says. “I don’t want to create() new() instances.”
“Don’t worry” the male session bean replies with a smile. “My constructor is protected.”
Why did the Integer drown?
‘Coz he couldn’t Float!
Yo mama’s so fat… she get an ArrayIndexOutOfBoundException!
Yo mama’s so po… she does garbage collection for a living!
Yo mama’s so ugly… her java.lang.reflect took down the mirror site!
A bonus one
Your mama’s so fat… that not even Dijkstra is able to find a shortest path around her.
When your hammer is C++, everything begins to look like a thumb.
A Cobol programmer made so much money doing Y2K remediation that he was able to have himself cryogenically frozen when he died. One day in the future, he was unexpectedly resurrected.
When he asked why he was unfrozen, he was told:
“It’s the year 9999 – and you know Cobol”
A geologist and a Java programmer are sitting next to each other on a long flight from LA to NY. The geologist leans over to the programmer and asks if he would like to play a fun game. The programmer just wants to take a nap, so he politely declines and rolls over to the window to catch a few winks. The geologist persists and explains that the game is real easy and a lotta fun. He explains, “I ask you a question, and if you don’t know the answer, you pay me $5. Then you ask me a question, and if I don’t know the answer, I’ll pay you $5.” Again, the programmer politely declines and tries to get to sleep. The geologist now somewhat agitated, says, “OK, if you don’t know the answer you pay me $5, and if I don’t know the answer, I’ll pay you $50!”
This catches the programmer’s attention, and he sees no end to this torment unless he plays, so he agrees to the game. The geologist asks the first question. “What’s the distance from the Earth to the moon?”
The programmer doesn’t say a word, but reaches into his wallet, pulls out a five dollar bill and hands it to the geologist.
Now, it’s the programmer’s turn. He asks the Geologist, “What goes up a hill with three legs, and comes down on four?” The geologist looks up at him with a puzzled look. He takes out his laptop computer and searches all of his references. He taps into the Airphone with his modem and searches the net and the Library of Congress. Frustrated, he sends e-mail to his co-workers — all to no avail.
After about an hour, he wakes the programmer and hands him $50. The programmer politely takes the $50 and turns away to try to get back to sleep.
The Geologist is more than a little miffed, shakes the programmer and asks, “Well, so what’s the answer?”
Without a word, the programmer reaches into his wallet, hands the geologist $5, and turns away to get back to sleep.
Once upon a time there was a shepherd looking after his sheep on the side of a deserted road. Suddenly a brand new Porsche screeches to a halt. The driver, a man dressed in an Armani suit, Cerutti shoes, Ray-Ban sunglasses, TAG-Heuer wrist-watch, and a Versace tie, gets out and asks the Shepherd:
Man: “If I can tell you how many sheep you have, will you give me one of them?”
The shepherd looks at the young man, and then looks at the large flock of grazing sheep and replies:
The young man parks the car, connects his laptop to the mobile-fax, enters a NASA Webster, scans the ground using his GPS, opens a database and 60 Excel tables filled with logarithms and pivot tables, then prints out a 150 page report on his high-tech mini-printer. He turns to the shepherd and says,
Man: “You have exactly 1,586 sheep here.”
The shepherd cheers,
Shepherd: “That’s correct, you can have your sheep.”
The young man makes his pick and puts it in the back of his Porsche. The shepherd looks at him and asks,
Shepherd: “If I guess your profession, will you return my animal to me?”
The young man answers;
Man: “Yes, why not?”
Shepherd: “You are an IT consultant.”
Man: “How did you know?”
Shepherd: “Very simple. First, you came here without being called. Second, you charged me a fee to tell me something I already knew, and third, you don’t understand anything about my business. Now can I have my DOG back?”
Richard Stallman, Linus Torvalds, and Donald Knuth engage in a discussion on whose impact on computer science was the greatest.
Stallman: “God told me I have programmed the best editor in the world!”
Torvalds: “Well, God told me that I have programmed the best operating system in the world!”
Knuth: “Wait, wait, I never said that.”
Joke: A novice programmer was explained the meaning of RTFM. He showed up the next day saying: “So I went out and bought the Kama Sutra. Now what?”
Meta-joke: If you tell the joke above to a non-programmer, he will ask: “What’s RTFM?” A programmer will ask: “What’s Kama Sutra?”
Meta-meta-joke: If instead of laughing in response in the meta-joke above you have asked “I knew both, now who am I”, then you are probably a programmer over the age of 30, who has realized the value of social skills, and who may even be married, but who is still an uber-geek who takes things way too literally.
If you have asked “I googled both, now who am I”, then you are probably a high-school kid who reads stackoverflow and takes things way too literally, but who had not yet known about RTFM or Kama Sutra. Congratulations, you are well on your way to becoming an uber-geek. Please try to acquire some social skills along the way. You may not think so now, but they do come in handy.
Don’t anthropomorphize computers. They hate that!
I was in the airport VIP lounge in route to Seattle a couple of weeks ago. While in there, I noticed Bill Gates sitting comfortably in the corner, enjoying a drink. I was meeting a very important client who was also flying to Seattle, but she was running a little bit late.
Well, being a straightforward kind of guy, I approached the Microsoft chairman, introduced myself, and said, “Mr. Gates, I wonder if you would do me a favor.”
“I’m sitting right over there,” pointing to my seat at the bar, “and I’m waiting on a very important client. Would you be so kind when she arrives as to come walk by and just say, ‘Hi, Ray,’?”
I shook his hand and thanked him and went back to my seat.
About ten minutes later, my client showed up. We ordered a drink and started to talk business.
A couple of minutes later, I felt a tap on my shoulder. It was Bill Gates.
“Hi, Ray,” he said.
I replied, “Get lost Gates, I’m in a meeting.”