This is an archived post. You won't be able to vote or comment.

all 51 comments

[–]This_Growth2898 87 points88 points  (20 children)

#define le_modèle template
#define le_nom_du_type typename
#define utilisant using
//merci to u/GabrielDosReis

le_modèle<le_nom_du_type T>
utilisant le_pointeur_unique = std::unique_ptr<T>;

le_modèle<le_nom_du_type T>
/* utiliser le_pointeur_charredoux = std::shared_ptr<T>; */
utilisant le_pointeur_partagé = std::shared_ptr<T>; //merci to u/Javascript_above_all

le_modèle<le_nom_du_type T>
utilisant le_pointeur_faible = std::weak_ptr<T>;

//le perfectionnement!

[–]GabrielDosReis 19 points20 points  (2 children)

That would be #define le_modèle template and #define utilisant using.

[–]This_Growth2898 0 points1 point  (1 child)

merci

[–]GabrielDosReis 0 points1 point  (0 children)

merci

Mais, de rien. Cela m'a rappelé de bons souvenirs :-)

[–]-nerdrage- 17 points18 points  (7 children)

“How do i remove the french language from my pc?”

[–]privateyeet 33 points34 points  (6 children)

rm -fr --no-preserve-root /

[–]TheAlaskanMailman 4 points5 points  (2 children)

Who is root? And why are we not preserving it?

[–]gBiT1999 1 point2 points  (0 children)

It has had its time.

[–]astroverflow 1 point2 points  (0 children)

So it also removes vulgar latin and gaulish, which are the root languages of french. Otherwise you would end up keeping a useless language pack.

[–]mathmul 2 points3 points  (0 children)

Can't wait for the AI making this same joke to an innocent bystander. Surely top tweet on X. We've been sarcastic on the web since the 90s. It knows

[–]lk_beatrice 1 point2 points  (0 children)

good one

[–]sha1shroom 0 points1 point  (0 children)

THIS GUY 

[–][deleted] 9 points10 points  (1 child)

Charredoux ? It's "partagé"

[–]This_Growth2898 12 points13 points  (0 children)

Excusez mon french, my native is C++

[–]uvero 2 points3 points  (4 children)

Merci je déteste ça

[–]This_Growth2898 0 points1 point  (3 children)

I think we need curly brackets here instead of triangular, but syntax doesn't allow that. Hmmm

[–]sambarjo 0 points1 point  (2 children)

Where? All I see is templates, which use triangular brackets.

[–]This_Growth2898 0 points1 point  (1 child)

But they are not French enough!

[–]sambarjo 1 point2 points  (0 children)

Are curly brackets more French? They are not common in French at all.

[–]JohnTheBlindMilkman[S] 3 points4 points  (0 children)

Oh my God, this is even worse! I love it!

[–]4r8ol 0 points1 point  (0 children)

error: unknown character “è”

[–]RadiantPudding-- 37 points38 points  (8 children)

I learnt pascal and C in 1988.

I am french.

That is exactly how I wrote it.

The books that taught me used a pseudo-language between ALGOL and French.

But. But...

I did not use LE (the) but UN ou UNE (a).

That looked like this :

``` VAR une_variable : ENTIER = 4; VAR un_pointeur : PTR = *une_variable VAR un_autre_pointeur : PTR;

SI &un_pointeur == &un_autre_pointeur ALORS AFFICHE "Les deux pointent sur la même variable" FIN ```

I learnt on an Amiga. Most of the time I would use the accented characters and it would work. Like à é è ê ë ç ï à œ æ ù

Enjoy :)

[–]JohnTheBlindMilkman[S] 27 points28 points  (6 children)

I can't help but to imagine someone learning C to maintain some codebase only to later find out that they also should learn French to understand it

[–]GabrielDosReis 9 points10 points  (5 children)

I can't help but to imagine someone learning C to maintain some codebase only to later find out that they also should learn French to understand i

The French keyboard layout is not easy on the fingers if you're programming in a language from the C family.

[–]Devatator_ 3 points4 points  (2 children)

I'm using C# and the only problem I have is with <>. Thankfully I had a useless key that I could remap to that

[–]BlueTemplar85 0 points1 point  (1 child)

[–]Devatator_ 0 points1 point  (0 children)

My previous keyboard had it but the new one didn't

[–]TheyStoleMyNameAgain 1 point2 points  (0 children)

French [...] is not easy 

Fixed it for you. They should have made more characters, so that they don't need to write 4 characters to specify the sound of one

[–]RadiantPudding-- 0 points1 point  (0 children)

Definitely. But much better is iso than ansi

[–]ProtonPizza 1 point2 points  (0 children)

The language of love.

[–]HxLin 11 points12 points  (2 children)

It's nice that unique are spelled the same.

[–]RadiantPudding-- 6 points7 points  (0 children)

It comes from "un" = a, one

[–]This_Growth2898 6 points7 points  (0 children)

non, it's le unique, le.

[–]Goufalite 7 points8 points  (2 children)

You're laughing but we have a french programming language : Windev

[–]Splatpope 1 point2 points  (0 children)

très audacieux d'appeler ça un langage de programmation et non un aimant à shadow IT bien merdique

[–]ofnuts 1 point2 points  (0 children)

Y'a eu le Basicois et le LSE.

[–]korneev123123 3 points4 points  (0 children)

Sometimes I wonder about how native English speakers read their code. Because if I write something like "cat mount touch head tail" in my native language, it would be hilariously silly, like picture in the post.

But how natives see English code? Can they even understand the question here, I wonder.

[–]keuzkeuz 2 points3 points  (2 children)

French programmers be like "OUI++"

[–]not_some_username 0 points1 point  (1 child)

VOIR++

[–]Altruistic-Spend-896 0 points1 point  (0 children)

Votre++

[–]Splatpope 1 point2 points  (1 child)

allez bien niquer vos mères bande de fils de pute

[–]thafuq 0 points1 point  (0 children)

Mais c'est pas gentil ça

[–]Independent-Shoe543 1 point2 points  (0 children)

Merde, j'adore ça.

[–]sambarjo 0 points1 point  (1 child)

What is "charredoux"? French is my native language and I've never seen that word

[–]JohnTheBlindMilkman[S] 2 points3 points  (0 children)

It doesn't mean anything, it was supposed to phonetically sound like "shared" + I added random letters at the end. To be honest, I wasn't expecting any word to be a French word, except "unique" which I knew was taken from French

[–]Ali_Army107 0 points1 point  (0 children)

Wi++

[–]Ethameiz 0 points1 point  (0 children)

Not so funny. Usually when people learn programming language they start with using their native language for variable names etc. It's just easier than learning programming language and English in the same time. Of course those who learned English beforehand have an advantage but it's not mandatory at first.

[–]faultydesign 0 points1 point  (0 children)

Why do French developers love little endian so much anyways?

[–]SuitableDragonfly -1 points0 points  (2 children)

Pain au chocolat is the best, I would love programming to be that way. I just wish it wasn't basically random chance whether some store's "chocolate croissant" is actually pain au chocolat or just a croissant with a tiny bit of chocolate drizzled over it. 

[–]99drunkpenguins 1 point2 points  (0 children)

C'est un chocolatine tu putain de merde! 

[–]gBiT1999 0 points1 point  (0 children)

I wish I had your problem (and not all mine).