Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • Related: Non-English-based programming languages https://en.wikipedia.org/wiki/Non-English-based_programming_... (not really up to date though)
  • There are Russian and Chinese programming languages. Quite natural. But there are already Hindi programming languages as well. Mind blowing detail! Thank you for sharing this list.
  • Is the compiler now gonna scream at me for using the wrong gender?
  • lol, it'll just say 'Noh!' and then ignore any further input. Especially if you forget the --bonjour flag.
  • Missing!! They should've translated `let` to `le` and `la`.
  • This is actually in a very aproachable and lenient french. The compiler will offer you a smoke to cool down and think about your syntax from some distance.

    > Arf("fetchez le dico".vers())

  • Name conflict with the OG rust synchronous web framework: https://github.com/tomaka/rouille
  • I like to imagine a world, a worse one, where programming languages were localised. This might initially have been a versioning nightmare, with different compiler binaries for each localisation. Later, it could become standard practice to ship a single compiler containing all supported localisations, the correct one being chosen from either system language, a project-wide setting, a preprocessor flag in each file, or some combination of these. Everyone would have to learn a little Polish, and "Source Code Translator" would be a profession.
  • You mean excel?
  • I think if this were the case, we would have quickly moved on from storing source code as text, and begun storing it as ASTs which could be 'viewed' in any localised version of the programming language. This may have had wider benefits than just reading source code in your preferred language.
  • I like the translation of the WTFPL as « la license rien a branler »

    If you don’t know the idiom, you should check it out, it’s both particularly vulgar and very commonly used.

    by d--b
  • But is it more vulgar than the English version? Deep question.
  • "Nothing to wank license", too literally translated

    French has so many perfectly normal looking words for sexual stuff. Not particularly long or short, not a compound of other words or a circumscription... nope, just a word for a thing, like table or house or tree.

  • Previously discussed:

    Rouille (338 points, 144 comments, Sept 11, 2021) https://news.ycombinator.com/item?id=28490935

    Rost – Write rust code in German (55 points, 16 comments, Nov 9 2021) https://news.ycombinator.com/item?id=29159077

    Rost – Rust Programming in German (161 points, 115 comments, Mar 25, 2025) https://news.ycombinator.com/item?id=43488490

  • Listen, if you didn’t just spend at least 5 minutes trying to make random foreign accents reading the code to yourself out loud trying to figure out what the code does…

    We’re different people.

  • You must learn about Baguette#.

    An implementation of OCaml (similar to Haskell, but from France instead of UK), but with french pastries name. It was half a joke, half a serious study project.

    https://github.com/vanilla-extracts/ocaml-baguettesharp-inte...

  • Years ago the research team behind OCaml released Chamelle, a version of the language localized in French, as an April fool's joke:

    https://gallium.inria.fr/blog/ocaml-5/

  • fk lese(&selbst, schlsl: Zeichenkette) -> Ergebnis<Möglichkeit<&Zeichenkette>, Zeichenkette> { wenn lass Etwas(wöbu) = gefährlich { WÖRTERBUCH.als_ref() } { Gut(wöbu.hole(&schlsl)) } anderenfalls { Fehler("Holt das Wörterbuch".hinein()) } }

    https://github.com/michidk/rost

  • Indent with two spaces for code formatting.
  • Almost perfect. I'm missing the Schwabacher typeface rendering.
  • As a non-Bavarian German, I'm offended by the German = Bavarian stereotype! (jk, it's just mildly annoying sometimes and this is meant to be silly)
  • I don't like the non-Germanic ref here in als_ref is not Germanic enough. als_ver (from Verweis) would be nicer.
  • The complete dictionary is here: https://github.com/bnjbvr/rouille/blob/principale/rouille_co...

    I just can't stop laughing at the "génial" => "super" https://github.com/bnjbvr/rouille/blob/principale/rouille_co...

  • I find it slightly disappointing that they haven't stuck with the Rust practice of picking short or abbreviated words when they're clearly unambiguous - such as "fn" instead of "func" or "function". E.g. why Résultat<...> when you can write just Résu? Why PeutÊtre and not Ptêt, very common in quick language, e.g. for texting or chatting?
  • lol, the author (or whoever translated) doesn't know that "super" doesn't mean "génial" in the context it would be used in.

    "super" is also a Latin word that's valid French.

    > Au-dessus de, exprimant une supériorité dans la qualité

    https://www.larousse.fr/dictionnaires/francais/super-/75409

  • "PeutÊtre" => "Option" is the clearest evidence this is shitposting, because Option is also a French word.

    But the best one is "merde" | "calisse" | "oups" => "panic"

  • I've notice there is "merde" method which is available in the example like in https://github.com/bnjbvr/rouille/blob/7e9523fe24026bff1a3a7...

    Merde is an alias for "calisse" and "oups" , see https://github.com/bnjbvr/rouille/blob/7e9523fe24026bff1a3a7...

  • Haha the translation is so funny. But I confess, as a native french speaker, I could not code in that language. It is so weird because I am used to english for coding now. Sometimes I write my variable names in french and I think I even used accented letters one time. What is worse, is that I tend to mix english and fench variable names in my code, but anyway english is way more common in the code base.
  • As a native french speaker, I feel so uneasy reading source code in french. It feels very very uncanny. I've often wondered if English native speakers feel the same when reading normal source code which is always in English. They probably don't. But how? I've always associated the "other language-ness" to correctness and technicality. It must be so weird to code in your own language. Feels like reading bad pseudo code. It's very nice to be able to map "english" to "technical, correct" and "native language" to "descriptive, approximate, comments, pseudo-code". Having only a single language to work with is like removing a color from the rainbow.
Rouille – Rust Programming, in French · Birbla