3 ms·
The complete dictionary is here: https://github.com/bnjbvr/rouille/blob/principale/rouille_compilog%C3%A9n%C3%A8se_proc_macro/src/lib.rs https://github.com/bnjb
by wiether 1y ago
The complete dictionary is here: https://github.com/bnjbvr/rouille/blob/principale/rouille_compilog%C3%A9n%C3%A8se_proc_macro/src/lib.rs 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_compilog%C3%A9n%C3%A8se_proc_macro/src/lib.rs#L40 https://github.com/bnjbvr/rouille/blob/principale/rouille_co...
- lkuty 1y agoHaha 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.
- philistine 1y agoUsing French variable names is a great way for me to know this is something I defined, not something which is defined by the environment.
- zozbot234 1y agoI 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?
- melicerte 1y agoI've notice there is "merde" method which is available in the example like in https://github.com/bnjbvr/rouille/blob/7e9523fe24026bff1a3a70fcc96c67b94675acae/examples/src/main.rs#L81C9-L81C14 https://github.com/bnjbvr/rouille/blob/7e9523fe24026bff1a3a7... Merde is an alias for "calisse" and "oups" , see https://github.com/bnjbvr/rouille/blob/7e9523fe24026bff1a3a70fcc96c67b94675acae/examples/src/main.rs#L81C9-L81C14 https://github.com/bnjbvr/rouille/blob/7e9523fe24026bff1a3a7...
- nartho 1y agoI'm partial to crate -> cagette
- PoignardAzur 1y ago"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"
- masom 1y agolol, 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 https://www.larousse.fr/dictionnaires/francais/super-/75409
- fouronnes3 1y agoI'm pretty sure they know, and that's what makes it funny. There's an entire genre of internet humor based on using incorrect (because of homophone/homograph words) english-to-french translation. For example saying "vérifie les buches" for "check the logs".
- wiether 1y agoYeah that was my understanding and why I found it so funny!
- layer8 1y agoIt’s intentional and meant as a joke.
- zozbot234 1y agoI might have picked "desu" as the keyword, a shorter phonetic respelling of dessus. Since the super keyword is often repeated in Rust, this would lead to code like `utilisons desu::desu::desu::a()`, for some added Japanese flavor.
- SilasX 1y agoEven so, it parallels a real thing that happens in non-joke contexts, where they avoid valid French when it looks "too English": https://news.ycombinator.com/item?id=45773624 https://news.ycombinator.com/item?id=45773624
- SilasX 1y agoHaha there are other cases where there is valid French that isn't accepted in French speaking areas because it looks too similar to English. 1) Quebec wanted "arrêt" instead of "stop" on stop signs, even though the latter is accepted as valid French and used in France. https://en.wikipedia.org/wiki/Stop_sign?utm_source=chatgpt.com&useskin=vector#Canada https://en.wikipedia.org/wiki/Stop_sign?utm_source=chatgpt.c... 2) The use of the TLD .gouv.fr instead of .gov.fr, even though "gov" is a recognizable contraction of the intended French word "gouvernement". (No, it's not a valid defense that "'gov' would be pronounced differently from 'gouv'": the English TLD .com is a contraction of "commercial", even though the "com" in "dot-com" is pronounced differently from the "com" in "commercial".)