Computer language comparisons.

Started by neosis666, July 12, 2010, 07:58:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

neosis666

Ada :
You aim at your foot and pull the trigger, but the safety stops the gun from firing. The safety won't budge until you tag your foot with a sign reading "Bullet Hole in this foot", and call the paramedics. You do so, then shoot yourself in the foot.

C :
The gun comes in 38 pieces, with a set of assembly instructions. After painstakingly assembling the pieces, you pull the trigger and the gun promptly backfires and blows your head off.

Assembly :
The same as C, except you have to hand-machine all the pieces as well. When you pull the trigger, your whole house explodes.

Java:
You break into someone else's home and steal their water pistol. You then make a child gun that uses .38 rounds instead of water. When you pull the trigger on the child gun, nothing happens to you, but everyone who visits your house gets shot in the foot.

Basic :
You aim the gun at a straight horizontal and pull the trigger, which causes a stream of water to be squirted straight down onto your foot.

Pearl :
You aim the gun at your foot and pull the trigger. There is no explosion, but gravity causes the bullet to slide out of the barrel and bounce off your foot.

Lisp :
You do a small part of the remaining work involved in shooting yourself in the foot. You then call yourself, and tell yourself to shoot yourself in the foot.

Pascal :
The same as Ada, except when you pull the trigger a little sign pops out reading "BANG!".

C++ :
The same as Java, except you try to build the parent water pistol using the gun tools from the C gun. When you pull the trigger on the child gun, the parent C gun explodes, spraying water everywhere, including the chamber of the child gun. This causes the child gun to backfire, blowing your head off.

Visual C++ :
The same as C++, except that the bullets, the gun parts, the tools you use to put it together, the hospital you get taken to afterwards, and the ambulance that takes you there are all owned by the same company.

APL :
Whenever you pull the trigger, no matter where you aim the gun, the bullet ricochets off of 13 objects and lodges in your foot. The gun has been examined by ballistics experts, mechanical engineers, and even the person who made it, and none of them can figure out how it works.

FORTRAN :
When you aim the gun at your foot and pull the trigger, a table indexing error causes the gun to shoot its firing pin into your foot instead of the bullet

hawnuyuna'viyä

I always thought the C++ one was:
Quote from: Bjarne StroustrupC makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off.

For a more complete list of languages: try this.

Kemaweyan

Pascal is like english - only "I see you". C is like na'vi - "Oel ngati kameie", "Kameie oel ngati", "Ngati kameie oel"... And assembler is like chinese - one point is wrong, and instead of greeting there is insult ;D
Nìrangal frapo tsirvun pivlltxe nìNa'vi :D

bommel

Quote from: Kemaweyan on July 14, 2010, 09:41:24 AM
Pascal is like english - only "I see you". C is like na'vi - "Oel ngati kameie", "Kameie oel ngati", "Ngati kameie oel"... And assembler is like chinese - one point is wrong, and instead of greeting there is insult ;D
Haha, I like it ;)

Swoka Ikran

Both neosis666's and hawnuyu na'viyä's lists were great reads.
2010 was the year of the Na'vi.Vivar 'ivong Na'vi!


 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise

Salvenger

Which languages do you know?
I know: C++, C#, Java, Visual Basic, Python, and F# (sorta)

Kyle
<3,
Kyle

bommel

Quote from: Salvenger on July 15, 2010, 05:16:33 PM
Which languages do you know?
I know: C++, C#, Java, Visual Basic, Python, and F# (sorta)

Kyle
Isn't there a separate thread for?

However: C, C++, C#, Java, VB .Net, x86 assembly

'Oma Tirea

#7
Quote from: bommel on July 15, 2010, 05:18:40 PM
Isn't there a separate thread for {this}?
...close, but not quite.  Someone should create one.   Done, enjoy :)

[img]http://swokaikran.skxawng.lu/sigbar/nwotd.php?p=2b[/img]

ÌTXTSTXRR!!

Srake serar le'Ìnglìsìa lì'fyayä aylì'ut?  Nari si älofoniru rutxe!!

bommel

Quote from: ll.sxkxawng on July 15, 2010, 05:24:47 PM
...close, but not quite.  Someone should create one.   Done, enjoy :)
irayo, ma ll.sxkxawng