DEV Community

Documendous
Documendous

Posted on

20 Programming Facts You Probably Don't Know

Programming is a field full of intriguing history, unexpected quirks, and fascinating trivia. Whether you're a seasoned developer or just starting out, there's always something new to learn. Here are 20 programming facts that might surprise you and give you a deeper appreciation for the world of code.

  1. Python's Name Origin: Python is named after the British comedy series "Monty Python's Flying Circus," not the snake.

  2. Java's Initial Name: Java was initially called "Oak," named after an oak tree that stood outside James Gosling's office.

  3. Hello World History: The first "Hello, World!" program appeared in the book "The C Programming Language" by Brian Kernighan and Dennis Ritchie.

  4. Whitespace Language: Whitespace is a programming language that uses only spaces, tabs, and line breaks for its syntax.

  5. Early Bug: The term "debugging" comes from an incident in 1947 when a moth was removed from a Mark II computer at Harvard University.

  6. Unicode and Emojis: Unicode, the standard for text representation in computers, includes over 1,000,000 code points, and it supports emojis, which are also a form of text.

  7. BASIC Language: The BASIC programming language, designed in 1964, was one of the first to be made widely accessible to non-science students.

  8. First Computer Programmer: Ada Lovelace is often considered the first computer programmer for her work on Charles Babbage's early mechanical general-purpose computer, the Analytical Engine.

  9. Esoteric Languages: Esoteric programming languages like Brainfuck and Malbolge are created more for amusement and experimentation than for practical use.

  10. COBOL's Longevity: COBOL, created in 1959, is still widely used in business, finance, and administrative systems for companies and governments.

  11. Zero-Based Indexing: Many programming languages, like C and Python, use zero-based indexing for arrays and lists, a concept introduced by the C language.

  12. Turing Complete: A system is Turing complete if it can perform any computation given enough time and memory. Many games, like Minecraft and Magic: The Gathering, have been proven to be Turing complete.

  13. JavaScript Misnomer: Despite its name, JavaScript is not directly related to Java. It was initially called Mocha, then LiveScript, before becoming JavaScript.

  14. Git's Name: Linus Torvalds, the creator of Git, humorously named it after himself, saying in British slang, "I'm an egotistical bastard, and I name all my projects after myself. First 'Linux,' now 'Git.'"

  15. HTML Element 'marquee': The <marquee> HTML element, which scrolls text across the screen, was introduced by Microsoft in Internet Explorer and is not part of any official HTML specification.

  16. Recursion Joke: A common programming joke is: "To understand recursion, you must first understand recursion."

  17. Ruby's Name: Ruby, a programming language created in the 1990s, is named after a gemstone, as its creator Yukihiro Matsumoto wanted a name that was short, elegant, and interesting.

  18. First Virus: The first computer virus, known as the "Creeper system," was an experimental self-replicating program written by Bob Thomas in 1971.

  19. ASCII Art: ASCII art uses characters from the ASCII standard to create images. This art form was popular in the early days of computers when graphical capabilities were limited.

  20. Algorithm's Namesake: The term "algorithm" is derived from the name of the Persian mathematician Al-Khwarizmi, who made significant contributions to algebra and mathematics.

Top comments (0)