Enginerd Humor

This forum is for discussions about science, engineering, and technical subjects.
Site Admin
User avatar
Posts: 5937
Joined: Sat Oct 25, 2003 11:12 pm
Location: Gilbert, AZ

Enginerd Humor

New postby Bud » Tue Mar 19, 2013 12:41 pm

Blatantly Stolen from Pelle's C Help File
TASK: To shoot yourself in the foot...

C - You shoot yourself in the foot.

C++ - You accidentally create a dozen instances of yourself and shoot them all in the foot. Providing emergency medical care is impossible since you can't tell which are bitwise copies and which are just pointing at others and saying, "That's me over there."

Assembler - You try to shoot yourself in the foot, only to discover you must first invent the gun, the bullet, the trigger, and your foot.

Forth - Foot in yourself shoot.

Pascal - The compiler won't let you shoot yourself in the foot.

Ada - After correctly packing your foot, you attempt to concurrently load the gun, pull the trigger, scream, and shoot yourself in the foot. When you try, however, you discover you can't because your foot is of the wrong type.

Java - The gun fires just fine, but your foot can't figure out what the bullets are and ignores them.

Modula2 - After realizing that you can't actually accomplish anything in this language, you shoot yourself in the head.

( Many versions floating around the Internet - not sure who is the original author )
The theory of evolution by cumulative natural selection is the only theory we know of that is in principle capable of explaining the existence of organized complexity.
-Richard Dawkins

Site Admin
User avatar
Posts: 5937
Joined: Sat Oct 25, 2003 11:12 pm
Location: Gilbert, AZ

Re: Enginerd Humor

New postby Bud » Fri Apr 05, 2013 8:41 am

The theory of evolution by cumulative natural selection is the only theory we know of that is in principle capable of explaining the existence of organized complexity.
-Richard Dawkins

Return to Engineering

Who is online

Users browsing this forum: No registered users and 1 guest