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

all 47 comments

sorted by: hot top controversial new old
[–] 46 points 8 months ago* (3 children)
  • [–] 26 points 8 months ago (4 children)

    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.

  • source
  • hideshow 4 child comments
  • [–] 42 points 8 months ago (1 child)

    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

  • source
  • hideshow 1 child comment
  • [–] 17 points 8 months ago (18 children)

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

  • source
  • hideshow 18 child comments
  • [–] [S] 18 points 8 months ago* (last edited 8 months ago) (9 children)

    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.

  • source
  • parent
  • hideshow 9 child comments
  • [–] 20 points 8 months ago (4 children)

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

  • source
  • parent
  • hideshow 4 child comments
  • [–] 4 points 8 months ago* (last edited 8 months ago) (7 children)

    Eaux in French is pronounced like oh

    So foo -> feauxeaux

  • source
  • parent
  • hideshow 7 child comments
  • [–] 5 points 8 months ago* (3 children)

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

  • source
  • parent
  • hideshow 3 child comments
  • [–] 8 points 8 months ago (1 child)
  • [–] 13 points 8 months ago

    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.

  • source
  • parent
  • [–] 7 points 8 months ago

    Mon octets!

  • source
  • [–] 5 points 8 months ago

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

  • source
  • [–] 4 points 8 months ago

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

  • source
  • [–] 15 points 8 months ago (2 children)

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

  • source
  • hideshow 2 child comments
  • [–] 4 points 8 months ago (8 children)
  • [–] 10 points 8 months ago (7 children)

    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.

  • source
  • parent
  • hideshow 7 child comments
  • [–] -3 points 8 months ago (5 children)

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

  • source
  • parent
  • hideshow 5 child comments
  • [–] 3 points 8 months ago (3 children)

    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
    
  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 8 months ago (2 children)

    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)

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 8 months ago (1 child)

    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!

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 8 months ago*

    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

  • source
  • parent