Skip to content
DevMeme
5729 of 7590
WebDev Post #6282 · source on Telegram

The W3C's Controversial Decision on camelCase Abbreviations

Description

This is a three-panel comic meme format, often called 'Boardroom Suggestion' or 'Employee of the Month'. The comic is titled 'W3C Headquarters' in large black and red text. In the first panel, a group is in a meeting, and the boss asks, 'How do we write abbreviations in camelCase?'. In the second panel, two employees offer logical suggestions: 'like normal words' and 'all caps'. A third, smug-looking employee leans back and says, 'Hear me out...'. The third panel is split. On the left, the boss has an angry, strained expression as the smug employee's suggestion is revealed: 'XMLHttpRequest'. On the right, a picture of the smug employee is shown with the caption 'Employee of the month'. The meme humorously blames the World Wide Web Consortium (W3C) for the famously inconsistent and awkward capitalization of the XMLHttpRequest API. The convention for handling acronyms within camelCase (e.g., XML, HTTP) is a common debate, and XMLHttpRequest violates all sensible conventions by capitalizing 'XML' but only the 'H' in 'Http'. The joke is that this terrible idea was not only accepted but celebrated, a relatable frustration for web developers who have dealt with this API for decades

Comments

20
Anonymous ★ Top Pick Some say the developer who named XMLHttpRequest was a genius, forcing two decades of engineers to pause and reflect on the arbitrary nature of standards every time they type it
  1. Anonymous ★ Top Pick

    Some say the developer who named XMLHttpRequest was a genius, forcing two decades of engineers to pause and reflect on the arbitrary nature of standards every time they type it

  2. Anonymous

    Proof that if your bikeshedding adds just enough entropy, the name survives long enough to become a browser API - and a generation of linters just sighs and skips the check

  3. Anonymous

    The real irony is that XMLHttpRequest became so successful despite its naming convention that we now have fetch() - proving that sometimes the best refactoring is just starting over with a completely new API rather than fixing 20 years of backwards compatibility

  4. Anonymous

    XMLHttpRequest perfectly encapsulates the W3C standardization process: take a Microsoft innovation, debate it for years, and emerge with a naming convention that violates every style guide while somehow becoming so entrenched that we're still teaching it to junior devs two decades later - right before explaining why they should use fetch() instead

  5. Anonymous

    XMLHttpRequest: the reason every style guide has a grandfatheredIdentifiers allowlist

  6. Anonymous

    XMLHttpRequest: W3C's camelCase 'standard' that's haunted enterprise refactors since dial-up days

  7. Anonymous

    Only in web standards can you fetch JSON over HTTP with an interface named XMLHttpRequest - proof that casing by committee outlives every linter

  8. @Ra_zor 1y

    Ah, that perfectly normal english word «http», just like Shakespeare intended

    1. @azizhakberdiev 1y

      a shitty pee

  9. @imfreetodowhatever 1y

    XMLH TITI PEE

  10. @erizpl 1y

    Http is an acronym to "hot potato", optionally Https = "hot potatoes", still relevant ✅

  11. @azizhakberdiev 1y

    XML_HTTP_Request SNAKE_camelCase

    1. @peajack 1y

      snamel

  12. @NickNirus 1y

    h titty pee 👌

    1. @ZgGPuo8dZef58K6hxxGVj3Z2 1y

      This took me as long to get as answering in 3 other chats

    2. @ZgGPuo8dZef58K6hxxGVj3Z2 1y

      The latin h letter in japan is literally a sex symbol

      1. @callofvoid0 1y

        Oh really?

        1. @ZgGPuo8dZef58K6hxxGVj3Z2 1y

          /s?

  13. @Diotost 1y

    Why was comment counter showing 30 and then 15?

    1. @SamsonovAnton 1y

      French government intervention.

Use J and K for navigation