Back to Blog

If programming languages were weapons

1zrekyewqiaxq_small

C is an M1 Garand standard issue rifle, old but reliable.

nbipbvfwmqb7va_small

C++ is a set of nunchuks, powerful and impressive when wielded but takes many years of pain to master and often you probably wish you were using something else.

4bukyhephoe7g_small

Perl is a molotov cocktail, it was probably useful once, but few people use it now.

qmhanlakiyccw_small

Java is a belt fed 240G automatic weapon where sometimes the belt has rounds, sometimes it doesn’t, and when it doesn’t during firing you get an NullPointerException, the gun explodes and you die.

odb1et34erhiq_small

Scala is a variant of the 240G Java, except the training manual is written in an incomprehensible dialect which many suspect is just gibberish.

tdsjt1pa55fafg_small

JavaScript is a sword without a hilt.

2apco7plivhetq_small

Go is the custom made “if err != nil” starter pistol and after each shot you must check to make sure it actually shot. Also it shoots tabs instead of blanks.

ngydoijonok5sg_small

Rust is a 3d printed gun. It may work some day.

zjgvgtmrhgmpw_small

bash is a cursed hammer, when wielded everything looks like a nail, especially your thumb.

dvtsddj7yqfna_small

Python is the “v2/v3” double barrel shotgun, only one barrel will shoot at a time, and you never end up shooting the recommended one. Also I probably should have used a line tool to draw that.

ysu6nkp3etd8yw_small

Ruby is a ruby encrusted sword, it is usually only used because of how shiny it is.

hxqywt4ymqxqza_small

PHP is a hose, you usually plug one end into a car exhaust, and the other you stick in through a window and then you sit in the car and turn the engine on.

f38gi2tpijc7q_small

Mathematica is a low earth orbit projectile cannon, it could probably do amazing things if only anyone could actually afford one.

ddmvewfmbobm0g_small

C# is a powerful laser rifle strapped to a donkey, when taken off the donkey the laser doesn’t seem to work as well.

i7vzcuof4i61a_small

Prolog is an AI weapon, you tell it what to do, which it does but then it also builds some terminators to go back in time and kill your mom.

w15natoim2lezq_small

Lisp is a shiv which comes in many forms. Anyone who uses this is probably crazy and dangerous.