4 ms·
>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
by 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.”