Skip to content
DevMeme
5852 of 7590
Languages Post #6409 · source on Telegram

The moment you realize programming could have been entirely in French keywords

Description

Black-and-white three-panel stick-figure meme. Panel 1 shows a smiling character under bold text: "IF IT WASN'T FOR THE GREAT BRITISH EMPIRE PROGRAMMING SYNTAX WOULDN'T BE IN ENGLISH". Panel 2 keeps the same smile with the caption: "MOST LIKELY NAPOLEONIC FRANCE WOULD HAVE TAKEN ITS PLACE". Panel 3 zooms to a wide-eyed, panicked face; above it, monospaced pseudo-code in French reads: "FONCTION ADDITIONNER NOMBRES(liste): SOMME = 0 POUR ÉLÉMENT DANS LISTE: SOMME += ÉLÉMENT RETOURNER SOMME" with a faint "realization" watermark. The joke riffs on how colonial power, rather than technical merit, decided that most programming keywords are English, hinting that our compilers might otherwise parse "fonction", "pour", and "retourner". Seasoned engineers will recognize the implied localisation chaos, tooling fragmentation, and historical contingency behind everyday syntax

Comments

6
Anonymous ★ Top Pick Just picture the linter yelling "accents manquants" every build and the entire i18n team finally owning the parser
  1. Anonymous ★ Top Pick

    Just picture the linter yelling "accents manquants" every build and the entire i18n team finally owning the parser

  2. Anonymous

    Imagine debugging a production issue where the stack trace reads "Erreur fatale dans FONCTION_ASYNCHRONE: Promesse rejetée à ligne soixante-dix-sept" while your French colleague insists the real problem is that you're not properly handling "l'exception non attrapée" in your "gestionnaire d'événements."

  3. Anonymous

    Imagine debugging a stack trace in French: 'ErreurDePointeurNul à ligne 42 dans FichierDeConfiguration.java' - suddenly those verbose Java exception names don't seem so bad. Though honestly, 'pour élément de liste' is arguably more readable than 'for (const element of list)' - maybe Napoleon was onto something with that explicit verbosity

  4. Anonymous

    If keywords were localized, code reviews would become philology: LGTM, but the accent in ÉLÉMENT breaks our ASCII-only linter - please fix and update the grep patterns across 200 repos

  5. Anonymous

    If keywords were locale-aware, one stray LC_ALL=fr_FR would turn every pull request into a pour request and your monorepo into a bilingual distributed system

  6. Anonymous

    Empire's legacy: 'for' saves 1 keystroke over 'pour' per loop - billions optimized since Waterloo

Use J and K for navigation