French programmers be like:

For all I care this is the funniest joke I've ever told

226 points · 47 comments · view on lemmy.world

47 Comments

rtxn@lemmy.world · 48 pts · 156d (3 replies)
#define EIGHTY (4 * 20)
eager_eagle@lemmy.world · 15 pts · 155d (2 replies)

#define NINETY (4 * 20 + 10)

mormegil@programming.dev · 6 pts · 154d (1 reply)

Danish: // hold my beer

#define NINETY ((int) (4.5 * 20))

eager_eagle@lemmy.world · 1 pts · 154d

lemme make an addendum to the Zen of Python

Mubelotix@jlai.lu · 42 pts · 156d (1 reply)

I tried so hard to understand as a french and still had to look for the answer. OP's mistake is that it is pronounced fozo, not foo. The x is only silent when at the end of a word

NigelFrobisher@aussie.zone · 12 pts · 156d

Yeah, they’d be better off with fous.

palordrolap@fedia.io · 26 pts · 156d (4 replies)

The venerable Jargon File has the French metasyntactic variables (i.e. the equivalents to foo and bar) as toto, titi, tata and tutu.

Or to take this in another direction: foo sounds like French "fou" which means "mad" (as in "insane"), so "coucou" might be an interesting alternative.

Wildmimic@anarchist.nexus · 8 pts · 156d (1 reply)

Kansas doggie, titties, indian car, pink skirt are strange metasyntactic variables.

palordrolap@fedia.io · 3 pts · 156d

I figure they're more likely related, in spirit and vocalisation if not etymologically, to the French phrase «et patati, et patata», translatable as "blah blah blah" or "yada yada yada".

SubArcticTundra@lemmy.ml · 2 pts · 156d
Venator@lemmy.nz · 1 pts · 154d

Or maybe something like "Foutu en l'air" and "Au-delà de tout irréparable"?

one_old_coder@piefed.social · 18 pts · 156d (19 replies)

Please explain. It's the first dad joke of programming I've ever seen.

Ragdoll_X@sh.itjust.works · 19 pts · 156d (9 replies)

The French pronounce the letters "eaux" as just "o", and foo and bar are placeholder names for functions that are often used in programming tutorials.

RustyNova@lemmy.world · 43 pts · 156d (2 replies)

Yes, but it's "oh", not "oo" (as in football)

So it's read "foh-oh". If you want to be correct, it's "Fou - barre - base" ("foo - bar - baz")

Ragdoll_X@sh.itjust.works · 20 pts · 156d

Well feauxck

Witchfire@lemmy.world · 8 pts · 156d

C'est un crazy rod là

one_old_coder@piefed.social · 20 pts · 156d (4 replies)

I'm French and most people know that oo is not "o." Fou would have been the proper way to write it.

moody@lemmings.world · 5 pts · 156d (2 replies)

But how do you pronounce zoo?

snooggums@piefed.world · 15 pts · 156d

"Omlette du frommage."

TheYojimbo@lemmy.world · 1 pts · 155d

Zo or zoho

sik0fewl@piefed.ca · 3 pts · 155d

I’m not French, but I read it as “foh-zoh”.

BuboScandiacus@mander.xyz · 4 pts · 155d

The “oo” in “foo” is written “ou” in French

Thus foo -> fou

“Feauxeaux” would be pronounced “fozo” (‘o’ as in “cold”)

MajinBlayze@lemmy.world · 2 pts · 156d (8 replies)

Eaux in French is pronounced like o

So foo -> feauxeaux

HuntressHimbo@lemmy.zip · 20 pts · 156d (2 replies)

French Furries: eauxWeaux :3

Sonotsugipaa@lemmy.dbzer0.com · 13 pts · 156d

French people saying "water":

neidu3@sh.itjust.works · 7 pts · 156d

[Obligatory comment about frog fursuits goes here]

one_old_coder@piefed.social · 5 pts · 156d (3 replies)

Not really. Every programmer in France knows how to speak English, and foo is foo, not anything else.

snooggums@piefed.world · 9 pts · 156d

wheauxeauxsh

ExLisper@lemmy.curiana.net · 6 pts · 156d

Every programmer in France knows how to speak English

Impressive.

MajinBlayze@lemmy.world · 2 pts · 156d

I bet you're fun at parties

mysweat@ani.social · 2 pts · 156d
[ removed ]
FishFace@piefed.social · 15 pts · 156d (2 replies)

Language jokes by people who evidently know bugger all about the language are extremely cringe

Ragdoll_X@sh.itjust.works · 10 pts · 156d (1 reply)

your meauxm

FishFace@piefed.social · 8 pts · 156d

to write the General American pronunciation of "mom" with French orthography would be something like "mam".

schnurrito@discuss.tchncs.de · 8 pts · 155d (1 reply)
adb@lemmy.ml · 13 pts · 155d

The best jokes are still in the comments though

Regarding the other errors, it seems your compiler is simply on strike. This can happen occasionally when compiling french code, and should fix itself in a few days.

Tja@programming.dev · 7 pts · 156d

Mon octets!

Flamekebab@piefed.social · 5 pts · 156d

Don't reinvent the wheel, learn the Baguette on Snails framework!

BuboScandiacus@mander.xyz · 4 pts · 155d (8 replies)

I don’t get it

Randelung@lemmy.world · 10 pts · 155d (7 replies)

eaux is pronounced o in the world oiseaux, which means birds. foo is a common stand-in name in programming, along with bar. foo has two o's, which are both replaced with the french spelling.

northernlights@lemmy.today · 1 pts · 154d

Except that no, it's not how it's pronounced.

BuboScandiacus@mander.xyz · -3 pts · 155d (5 replies)

It doesn’t work (as explained in another comment)

Randelung@lemmy.world · 8 pts · 155d

beauxeauxeaux

WhyJiffie@sh.itjust.works · 3 pts · 154d (3 replies)

of course it doesn't! if my user tags are not lying, you are probably using a hungarian operating system, so you should be using this:

megh fó(n):
    visszatér n+1

megh vendéglő(n):
    visszatér n-1
BuboScandiacus@mander.xyz · 1 pts · 154d (2 replies)

if my user tags are not lying, you are probably using a hungarian operating system

Ohhh, you can see that ? Which clients implement that feature ? You learn something new about lemmy everyday xD

Btw “using a hungarian operating system” is false

And

megh fó(n):
    visszatér n+1

megh vendéglő(n):
    visszatér n-1

Isn’t correct either

It should be

függ fú(n):
    visszaküld n+1

függ bár(n):
    visszaküld n-1

LLM translations aren’t very good when it comes to languages spoken by such a few people x)

WhyJiffie@sh.itjust.works · 2 pts · 154d (1 reply)

Ohhh, you can see that ? Which clients implement that feature ? You learn something new about lemmy everyday xD

It's Voyager, but these are not public tags, I just tagged you earlier :)

Isn’t correct either

well it depends. the code in OP was mimicking python, where you begin functions with the shorthand for "definition", not "function"

LLM translations aren’t very good when it comes to languages spoken by such a few people x)

bojler eladó! de ha nem kell, most megfizetsz megszentségteleníthetetlenségeskedéseidért!

BuboScandiacus@mander.xyz · 2 pts · 153d

It's Voyager, but these are not public tags, I just tagged you earlier :)

Oh, nice !

I didn’t pay attention to the python thing, though the ”fú” still stands

bojler eladó!

Neeeeee, de egy fasz vagyok

NigelFrobisher@aussie.zone · 3 pts · 156d

I once made faux and vrai constants in Java and used them everywhere for a laugh.