13 ms·
Rouille
- xcambar 5y agoIl y a même les accents, bravo ! Merde à Rouille !
- ur-whale 5y agoNo, you meant : "Rouille, c'est vraiment LA merde !" Which, of course, while it is a diret word-for-word translation, has perfectly antinomic meaning in each language.
- xcambar 5y agoFor those wondering: * "c'est la merde" : "we're in trouble" * "c'est de la merde" : it's shit * "Je te dis merde" : well... "F*ck you" or "all the best", depending on context. Yes, for real ^^ (edit: formatting)
- traceroute66 5y agoI think you missed more than a few xcambiar ! e.g. "écoute ce que je te dis, merde" ... ending sounds the same as your example "je te dis merde" but totally different meaning.
- xcambar 5y agoIndeed, but merde is such a versatile word, it's hard to be exhaustive. Thanks for your addition!
- phtrivier 5y ago"Je te dis merde" before a performance would translate to "break a leg". The supersition goes that you should not reply with "merci" ("thanks") but "je prends" ("I'll take it ?") There are unverifiable explanations for why "merde" is used by actors ; my favorite one is that it is related to horse carriage carrying theatre-viewers to the theatres ; you're wishing actors that a lot of horse will carry a lot of viewers, and do the other thing...
- xcambar 5y agoOh thanks, I always assumed the carriage explanation was verified. Do you know of others you could share, before I google it?
- efrecon 5y agoI know this is a joke. But.. when I learnt C programming, and in order to smooth transition from algo classes to practical programming, we were told to #include a header file that would more or less do what this does for rust. The header file would also enforce curly braces and parentheses when writing loops or condition statements, as far as I remember. Fact is: it actually helped. Problem: my first foray in the industry would involve C and guess what? They used english-C (sorry no better word for it) rather then french-C. I fought for a few weeks re-learning the language.
- raverbashing 5y agoWhen you learn it straight in English it is easier. Even if you don't speak English! You just associate the words with what they do, but it doesn't matter what it's written. You just associate in the same way the operators +, - work in math. It just happens.
- chefandy 5y agoAs a monolingual English speaker I often wonder about the subtleties of this dynamic among newer developers. Is the difference in cognitive load among folks who speak different languages is consistent or even measurable? Does it bias a developer toward any specific pattern/mistake/misunderstanding/bug? Are there subtle mental-model-building advantages to decoupling software commands from their linguistic meaning through a language difference even if it's initially more difficult? Does the presence or quality of English instruction affect adoption of development beyond the first few weeks? Could be cool to explore these things to see how they might inform pedagogy or even language design. Then again, my relatively naive suppositions might lend entirely too much weight to it.
- ghego1 5y agoFirst, the readme is simply hilarious! Jokes asides, the concept underlying this project is actually interesting. It wouldn't be bad at all if programming languages were localizable. I think it would help many if it was possible to choose the (human) language in which to use a programming language. Ideally, the same source code could be viewed in different languages depending on the preferred idiom of the developer.
- traceroute66 5y ago> It wouldn't be bad at all if programming languages were localizable That is an admirable dream to have, and one that I have sometimes had myself. Unfortunately, as with most things reality soon puts an end to it. First, the dream is only really a dream you can have with the luxury of a Western language. It is unlikely to be viable once you start looking further East in the direction of e.g. Kartvelian languages (i.e. low number of speakers worldwide and even fewer with relevant specialisms in programming to write compilers) or Asian languages (e.g. Japanese and its particles and other complexities). Second, when you are writing code you don't really want to have to worry about the possibility of debugging your compiler. Sticking to English means the likelyhood of a more robust compiler because of more widespread adoption. You also remove technicalities such as UTF-8 or whatever else that might cause indirect issues. Its a bit like science really. Sure you can write your papers in your native language, but the reality is if you're serious about your work being discovered and are interested in being offered bigger and better jobs, you'll want to publish in English sooner rather than later.
- pyrale 5y ago> Unfortunately, as with most things reality soon puts an end to it. Usually, when a thing gets labeled as a dream, people don't try very hard either. > Sticking to English means the likelyhood of a more robust compiler because of more widespread adoption. The comment you quote specifically talks about localizable software, not having one compiler per language. When you I18n a website, you don't write n sites, for instance.
- 5y ago
- pyrale 5y agoRouille is also best deployed using Marcel. https://github.com/brouberol/marcel https://github.com/brouberol/marcel
- deleted 5y ago[deleted]
- mhd 5y agoThis used to be a lot more common in the early days of computer science teaching, where you had localized versions of Pascal or Basic. For an extreme version of this, where the language isn't just used to replace a few keywords, there's always Linga::Romana::Perligata. https://users.monash.edu/~damian/papers/HTML/Perligata.html https://users.monash.edu/~damian/papers/HTML/Perligata.html
- moralestapia 5y ago>Would you like to try something different, in an exotic and funny-sounding language? Casually derogatory joke, a classic.
- desdiv 5y ago>You're from Quebec and don't feel at ease using only French words? Don't worry! French Rust is fully compatible with English-Rust, so you can mix both at your convenience. Interesting factoid: in France, most of the stop signs say "stop" due to the Vienna Convention on Road Signs and Signals linked below. In Québec, on the other hand, most of the stop signs say "Arrêt" due to nationalism reasons. Bilingual Arrêt/Stop signs exist, but are rare.
- wutwutwutwut 5y ago> Interesting factoid: in France, most of the stop signs say "stop", since it's a perfectly valid word in French. Here's another interesting fact which I suspect is more of a fact than "your" fact: Almost all countries in Europe has stop signs with the word "Stop" because it was agreed upon in 1968. https://en.m.wikipedia.org/wiki/Vienna_Convention_on_Road_Signs_and_Signals https://en.m.wikipedia.org/wiki/Vienna_Convention_on_Road_Si...
- desdiv 5y agoThank you. I did not know that before. I've corrected my OP.
- deleted 5y ago[deleted]
- Mikeb85 5y agoWell 'stopper' is now a valid French word. No idea if it became a thing because of this or always was a thing. https://www.larousse.fr/dictionnaires/francais/stopper/74789 https://www.larousse.fr/dictionnaires/francais/stopper/74789
- thesuperbigfrog 5y agoYou can write Perl in Latin: https://metacpan.org/dist/Lingua-Romana-Perligata/view/lib/Lingua/Romana/Perligata.pm https://metacpan.org/dist/Lingua-Romana-Perligata/view/lib/L... or Klingon: https://metacpan.org/pod/Lingua::tlhInganHol::yIghun https://metacpan.org/pod/Lingua::tlhInganHol::yIghun
- tootie 5y agoOr whitespace https://metacpan.org/pod/Acme::Bleach https://metacpan.org/pod/Acme::Bleach
- 29athrowaway 5y agoThere could be a compiler flag to parse keywords in another language.
- siva7 5y agoI wish this was a joke but actually reading upon the french governments plans i‘m not entirely sure anymore
- dgellow 5y agoDoes one of you remember WinDev? Their programming language (WLangage IIRC?) and APIs were available in multiple language, I had to use the French version. It was really a horrible experience to always have to check the language spec to lookup for their weirdly translated keywords. I would definitely not recommend.
- pjerem 5y ago> were Nope, WinDev is still alive. The latest version is from December 2020
- dgellow 5y agoWow, that’s insane! I never thought they would survive that long. I remember that we had to use a dongle to enable the license, you could only use their IDE if you had it plugged in, which was a real pain. Also, their monthly magazines were the most sexist stuff I’ve ever seen… hopefully that changed…
- Zababa 5y agoI do, I worked with it until a few months ago.
- Sytten 5y ago>You're from Quebec and don't feel at ease using only French words? Don't worry! French Rust is fully compatible with English-Rust, so you can mix both at your convenience. This gave me a "PTSD moment" of university projects in Java with variables in French and comments in Franglais (mix of French and English). Some old teachers even made it mandatory to write comments in french (I suspect they didn't understand English beyond the language keywords).
- TeeMassive 5y agoOh yeah. We had to do that for a big well known corporation. We had to program in English but the comments had to be in French; at least they tolerated anglicism. The result was code that only a little fraction of the population could understand, and I never heard of any software company getting sued for coding in English. What a farce. And let's not forget when the Orifice de la Langue Française shows up to your workplace and forces to have a Frenchisation committee to set up all workstations and software in French. Googling anything was a freaking nightmare and back in the days changing the OS language was a pain in the ass.
- hyakosm 5y ago> The result was code that only a little fraction of the population could understand Sometimes it's better to have code comments that the little fraction can understand well, for specific purposes in an internal organization. Example, the source code used in French government for property taxes: https://github.com/etalab/taxe-fonciere/blob/master/src/EFITA3N8.cob https://github.com/etalab/taxe-fonciere/blob/master/src/EFIT...
- dan-robertson 5y agoI was a maths student and in the small programming part of the course, a friend of mine ran out of single-letter variable names and so started going through names of the lecturers he interacted with or random words like “dog” or “cat.”
- rPlayer6554 5y agoSomeone from Italy should make a fork of Java called "Cappuccino"?
- perilunar 5y agoYou do realise that 'Java' was (is?) not originally an English word?
- remram 5y agoThey also expanded all keywords, so "fn" becomes "function", "mut" becomes "mutable" (which is not even a common word? How about "altérable" or "modifiable"?). Interestingly the Result::Err variant was kept short with Résultat::Arf which is an onomatopoeia. 10/10 looks very painful to use. Reminds me of my college days.
- rzzzt 5y agoNo mention of the British PHP article yet‽ https://aloneonahill.com/blog/if-php-were-british/ https://aloneonahill.com/blog/if-php-were-british/
- crvdgc 5y ago> fonction écrire( I love how in the README, the syntax highlighter doesn't pick up letters with diacritical marks.
- 0xbadcafebee 5y agoYou know nobody's intended to use it when it has WTFPL
- cfn 5y agoAs a !Quebequois I was disappointed that the Readme was in English.
- ece 5y agoThis must be what the Merovingian codes in.
- nsarafa 5y agoNative English speakers are quite lucky all programming languages are in English. Imagine China created their own languages and OS? We couldn't keep up
- throwaway210222 5y ago> Imagine China created their own languages 文言 is programming in classical chinese. So its starting… :) https://wy-lang.org/ https://wy-lang.org/
- michidk 5y agoAnd now there is a german fork as well: https://github.com/michidk/rost/ https://github.com/michidk/rost/
- charles_f 5y agoAwesome idea and well realized. In my consulting days I met a number of customers in Quebec who were coding with French method names, variables and such. They were even using accented names for variables. I actually think if they get onto Rouille they might start using it. That's scary but at least, it would look less bancal. I can bet you can find the same use case in all other languages, so we need Óxido and 锈 Edit: LOL just discovered there are a few of these already https://github.com/bnjbvr/rouille/network/members https://github.com/bnjbvr/rouille/network/members
- Zababa 5y agoI don't think "PeutÊtre<T>" is a good substitute for Option<T>. The direct translation is Maybe<T>. Maybe<T> is used in Haskell. Haskell was made in the UK. There's no way we could accept this for our French language.
- atc 5y agoNon
- brundolf 5y agoPeople are probably going to say this is silly (and maybe the author would say the same), but I think it's an awesome demonstration of what Rust macros can do, and I think it could also become genuinely useful for non-English speakers who want to write code in an English-centric landscape. Most people in France and Quebec probably know enough English to work with English keywords in code, but I bet for people in lots of non-western countries it can be a real hurdle in terms of approachability and readability.
- leshow 5y agoI really thought this was about the web server framework https://github.com/tomaka/rouille https://github.com/tomaka/rouille, that's been around for ages.
- saint-loup 5y agoIf this is a Brice de Nice reference I'm going to lose it. https://github.com/bnjbvr/rouille/commit/3d67732c593a78f05454b8053f3d8ea2c04b3828 https://github.com/bnjbvr/rouille/commit/3d67732c593a78f0545...
- bilange 5y agoIt's even more funny looking at the commit itself. Thanks for the pointer! Although technically speaking, it's a contre-casse!
- jeffrallen 5y agoC'est magnifique !
- jumelles 5y agoIf you like this, check out قلب [The current name قلب means Heart, but is actually a recursive acronym for قلب: لغة برمجة pronounced 'alb: lughat barmajeh meaning Heart: A Programming Language]. https://nas.sr/%D9%82%D9%84%D8%A8/ https://nas.sr/%D9%82%D9%84%D8%A8/ https://github.com/nasser/--- https://github.com/nasser/---
- dan-robertson 5y agoA curious thing about programming is that it became prominent when English dominated academia (and computer science was extremely American.) Compare this to, for example, mathematics where: - some words are loaned from another language like Eigenvector or group (sort of—I think it came from the French groupe). Also eg a blackboard-bold Z (for Zahlen) or Q (for quoziente) for integers or rationals - other words are taken from the native language (eg rational or probability or field extension) though they may derive from Greek or Latin and have cognates in other languages. - some symbols are quite universal and used in every language (eg the forall or exists or implies symbols) - I don’t know whether letters that are typically used for things are the same (eg I don’t know why density is often rho. Is it referring to a word in a different language) - the proofs are written in the native language and often that part matters a lot. - so much stuff is named after people so words don’t need to be translated (eg noetherian domains or Cauchy–Schwarz) - I wonder if some theorems get different names? (I assume in China they don’t call it Chinese remainder theorem)
- DominikPeters 5y ago> I assume in China they don’t call it Chinese remainder theorem Apparently they are! “中国剩余定理” according to Wikipedia, where the first two letters mean China. https://zh.wikipedia.org/wiki/%E4%B8%AD%E5%9B%BD%E5%89%A9%E4%BD%99%E5%AE%9A%E7%90%86 https://zh.wikipedia.org/wiki/%E4%B8%AD%E5%9B%BD%E5%89%A9%E4...
- arthur2e5 5y agoIn elementary school it was just 余数定理 without the Chinese. Well, academia sounding more foreign is normal here.