Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
Ric0la ( rclkrtrzckr@discuss.tchncs.de )  to Programmer Humor@programming.dev · 3 years ago

Colors, localized.

discuss.tchncs.de

message-square
38
link
fedilink
590

Colors, localized.

discuss.tchncs.de

Ric0la ( rclkrtrzckr@discuss.tchncs.de )  to Programmer Humor@programming.dev · 3 years ago
message-square
38
link
fedilink
alert-triangle
You must log in or # to comment.
  • Wander ( Wander@yiffit.net ) 
    link
    fedilink
    arrow-up
    21
    ·
    3 years ago

    //German

    Farbe=“#Neunundneunzigdoppelefdoppela;”

    • jvisick ( jvisick@programming.dev ) 
      link
      fedilink
      arrow-up
      15
      ·
      3 years ago

      I love that song!

      • odium ( odium@programming.dev ) 
        link
        fedilink
        arrow-up
        4
        ·
        3 years ago

        Hast du etwas zeit für mich

        • alexrepty ( alexrepty@vlemmy.net ) 
          link
          fedilink
          arrow-up
          3
          ·
          3 years ago

          Dann singe ich ein Lied für dich

    • Black616Angel ( Black616Angel@discuss.tchncs.de ) 
      link
      fedilink
      arrow-up
      5
      ·
      3 years ago

      More like:

      // German
      Farbe = “#(9&90)FFAA”;

  • blazarious ( blazarious@mylem.me ) 
    link
    fedilink
    arrow-up
    11
    ·
    3 years ago

    I’d argue it’s 4*20+19 in French, though, otherwise you’d probably need to change some of the other 99 to 90+9.

  • phedolin ( phedolin@vlemmy.net ) 
    link
    fedilink
    arrow-up
    9
    ·
    3 years ago

    German translation probably boils down to:

    farbe = '#9FA²'

    More efficient, saves half the characters!

    • SteveTech ( SteveTech@programming.dev ) 
      link
      fedilink
      arrow-up
      10
      ·
      3 years ago

      Jokes aside, #9FA actually works too.

    • dodgy_bagel ( dodgy_bagel@lemmy.blahaj.zone ) 
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      #99FA9FFA9FAA?

    • Hupf ( Hupf@feddit.de ) 
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      https://en.wikipedia.org/wiki/Farbrausch

  • somada2kk ( somada2kk@lemmy.ml ) 
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 years ago

    As guy who hate French language and was learning in 1999 I can confirm it was pain to read the topic of lesson and the date. I was so happy when we switched to 2000.

    • Obi ( Obi@sopuli.xyz ) 
      link
      fedilink
      English
      arrow-up
      7
      ·
      3 years ago

      Whole generations of French students that have no idea they escaped having to write “mille neuf cent quatre-vingt dix-neuf” over and over again, in cursive of course.

  • snowe ( snowe@programming.dev ) 
    link
    fedilink
    arrow-up
    5
    ·
    3 years ago

    I had to read a lot of the comments to understand what the post meant.

    • ojmcelderry ( ojmcelderry@lemmy.one ) 
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      Yeah. Honestly, I’m still not sure I understand it. ELI5?

      • MouseWithBeer ( MouseWithBeer@iusearchlinux.fyi ) 
        link
        fedilink
        English
        arrow-up
        7
        ·
        3 years ago

        The American is how it is supposed to be.

        The British one has the “color” changed changed to “colour” due to British spelling of color.

        The Spanish one has an upside down semi colon because in Spanish you write questions like this: ¿Is this an example question?

        The French one is because the French number system makes absolutely no sense and to say 99 you have to say quatre-vingt-dix-neuf (meaning 4 x 20 + 19).

        I hope this helps somehow.

        • nintendiator ( nintendiator@feddit.cl ) 
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 years ago

          The American is how it is supposed to be.

          The British one has the “color” changed

          [citation needed]

          • MouseWithBeer ( MouseWithBeer@iusearchlinux.fyi ) 
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 years ago

            I mean in code. Not sure how many programming languages are gonna accept “colour”. Or maybe they do and I am wrong, tbf I never thought about it till now.

            When it actually comes to the English language that’s a different story.

            • nintendiator ( nintendiator@feddit.cl ) 
              link
              fedilink
              English
              arrow-up
              1
              ·
              3 years ago

              I don’t know any language where “colo[u]r” is a keyword, or a lexer-level entity tbh, so I’m not sure there would be any difference. Anywhere you can name a variable “color”, you can name it “colour”. C++ allows you to explicitly make one an alias to the other, for example.

              That said, I’ve seen a number of BBCode parsers need to take both “[color=”] and “[colour=]”. Really, we need code and programming languages in general to be less American. It’s 2023 already and in many programming languages I have to name my accounting variables “ano” (butthole) instead of “año” (year).

  • ImplyingImplications ( ImplyingImplications@lemmy.ca ) 
    link
    fedilink
    arrow-up
    5
    ·
    3 years ago

    Wait, spanish doesn’t do the “we don’t have a word for that number, just do math instead” counting system?? I thought the romance languages were tight!

    • jorge ( jalda@sopuli.xyz ) 
      link
      fedilink
      English
      arrow-up
      12
      ·
      3 years ago

      Well, there isn’t a word for 99 in Spanish or English, in both languages we say 90+9, so that counts as maths.

      If you are asking about words for 70, 80 and 90, that is a peculiarity of French, and not even all dialects, some dialects have septante, huitante/octante and nonante for those.

    • rumschlumpel ( ichmagrum@feddit.de ) 
      link
      fedilink
      arrow-up
      8
      ·
      3 years ago

      haha no

      It’s just the French being weird, there’s even some non-France French dialects that count normally.

      The Spanish might talk too fast to understand anyway, though.

    • nyan ( nyan@lemmy.cafe ) 
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      French is the only Romance language that does the count-by-twenties thing, as far as I know, but apparently some of the Celtic languages do it too. So French may have picked it up from Breton (or Gaulish or who-knows).

  • alr ( alr@programming.dev ) 
    link
    fedilink
    arrow-up
    4
    ·
    3 years ago

    If you think French is bad…

    // Danish
    farve = "#(9+½+5)FFAA"
    
    • Ric0la ( rclkrtrzckr@discuss.tchncs.de ) OP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      3 years ago

      Please elaborate. Any background on this?

      • alr ( alr@programming.dev ) 
        link
        fedilink
        arrow-up
        4
        ·
        3 years ago

        The Danish word for 99 is nioghalvfems, which literally means “nine and half five.” Which you could be forgiven for assuming meant 11½. The trick is that a) “half five” actually means 4½, as in half less than five, and b) it’s implied that you’re supposed to multiply the second part by 20. So the proper math is 9 + (-½ + 5) * 20 = 99.

  • Bryan Elliott ( Fordiman@programming.dev ) 
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    Four score and nineteen reds?

  • NoPolToday ( NoPolToday@beehaw.org ) 
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    Belgian and Swiss French speakers smirking…

  • Dohnakun ( Dohnakun@lemmy.fmhy.ml ) B
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    & german?

  • dakerDraws ( dakerDraws@pawb.social ) 
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 years ago

    Quatre-vingts-dix-neuf! 🤣

    Or as my American-ass says, “Cat vank deez noofs.”

    • GewoehnlicherHamster ( GewoehnlicherHamster@feddit.de ) 
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 years ago

      Takes notes

      Next time meeting someone who might speaks french: Pontjur fellow frenchman, i need cat wank deez nutz of those poms

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 499 users / day
  • 2.67K users / week
  • 4.1K users / month
  • 7.65K users / 6 months
  • 462 local subscribers
  • 33.7K subscribers
  • 1.57K Posts
  • 25.7K Comments
  • Modlog
  • mods:
  • Feyter ( Feyter@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • BurningTurtle ( BurningTurtle@programming.dev ) 
  • Pierre-Yves Lapersonne ( pylapp@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code