Programming Jokes

Programmer Jokes

Who says science jokes are not funny? Below you can see some of the best Programming jokes we know, along with short explanations to the more obscure of them.

Do you know any funny Programming jokes yourself? Let us know in the comments section below.


P1.

"What is the object-oriented way to become wealthy?"

"Inheritance."

Explanation

Inheritance is one of the main mechanisms of object-oriented programming.


P2.

"Why did the programmer quit his job?"

"Because he did not get arrays."

Explanation

Array is a data structure in programming. This is a wordplay with "a raise".


P3.

"Why do programmers always mix up Halloween and Christmas?"

"Because Oct 31 equals Dec 25."

Explanation

The number 31 in the Octal number system equals the number 25 in the Decimal number system.


P4.

"0 is False and 1 is True, correct?"

"1."

Explanation

This answer does not give any infromation.


P5.

A man is smoking a cigarette and blowing smoke rings into the air.  His girlfriend becomes irritated with the smoke and says, “Can’t you see the warning on the cigarette pack?  Smoking is hazardous to your health!” To this, the man replies, “I am a programmer.  We don’t worry about warnings; we only worry about errors.”

Explanation

In programming, there are two types of problems with the code - warnings and errors. Warnings do not necessarily prevent the code from executing properly, so they are not that worrhsome.


P6.

Why computers are like men:

  1. In order to get their attention, you have to turn them on.
  2. They have a lot of data but are still clueless.
  3. They are supposed to help you solve problems, but half the time they are the problem.
  4. As soon as you commit to one, you realize that if you had waited a little longer, you could have had a better model.

Why computers are like women:

  1. No one but the Creator understands their internal logic.
  2. The native language they use to communicate with other computers is incomprehensible to everyone else.
  3. Even your smallest mistakes are stored in long-term memory for later retrieval.
  4. As soon as you make a commitment to one, you find yourself spending half your paycheck on accessories for it.

P7.

"What do you call a programmer from Finland?"

"Nerdic".

Explanation

This is a wordplay with the word nerdy and Nordic.


P8.

"Why do Java programmers need to wear glasses?"

"Because they do not C#."

Explanation

Java and C# are two different programming languages.


P9.

99 little bugs in the code.
99 bugs in the code.
Take one down, patch it around.
100 little bugs in the code.

Explanation

This is a modification of the famous "99 bottles of beer". In coding, it often happens that you fix one bug and then few others appear. 


P10.

The programmer got stuck in the shower because the instructions on the shampoo said "Lather. Rinse. Repeat."

Explanation

The instructions created a loop without terminating conditions.


P11.

"I don't see women as objects. I consider each of them in a class of her own."

Explanation

A joke related to object-oriented programming.


P12.

An SQL query walks into a bar, walks up to two tables and asks, "Can I join you?"

Explanation

"SQL JOIN" is a clause which is used to combine two or more tables.