**Item**:

“Why execute programmers always mix up Halloween and also Christmas?”

“Because Oct 31 = Dec 25.”

**General Information about Item:**

**Informant Data**:

Nitasha Kochar is a lutz-heilmann.info computer science significant, in the class of 2019, from Jericho, New York.

You are watching: Why do programmers confuse halloween and christmas

**Contextual Data:**

The informant shelp that she initially heard the joke from a fellow classmate in her CS10 class throughout her freshman year.

**Tranmanuscript of Associated File:**

“Why do programmers constantly mix up Halloween and also Christmas?”

**Informant’s Comments**:

The basis of this joke lies within the two various number systems, octal and also decimal, as Halloween is represented by Oct 31 and Christmas is represented by Dec 25. In computer system science terms, Octal 31 and also Decimal 25 are indistinguishable. To acquire right into a little even more detail, decimal is the base-10 number mechanism through 10 digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9). After you surpass the highest possible digit 9, then you include another column to the left; therefore, the sequence goes as follows: 8, 9, 10, 11, 12, and so on. On the other hand also, octal is the base-8 number system, which has actually 8 digits (0, 1, 2, 3, 4, 5, 6, 7). Therefore, once you surpass the highest possible digit 7, then you add another column to the left; as an outcome, the sequence would certainly go as follows: 5, 6, 7, 10, 11, 12, and so on To test if octal 31 and decimal 25 are equal, we have the right to transform octal 31 right into decimal create by using the equation: 3 x 81 + 1 x 80 = 3 x 8 + 1 x 1 = 24 + 1 = decimal 25. This joke emphasizes the various number devices supplied in coding, which have the right to help programmers remember the fundamentals.

**Collector’s Comments**:

See more: Why Is Copper Used For Most Electrical Wiring? ? Why Is Copper Used For Electrical Wires

**Tags/Keywords**:

This enattempt was posted in Programmer Folklore on November 12, 2016 by Robin Zeng.

### Message navigation

Previous post:← Towers of HanoiNext off post: “When all you have actually is C…” →### Leave a Reply Cancel reply

Your email deal with will not be publimelted. Required areas are marked *