• Rikudou_Sage@lemmings.world
    link
    fedilink
    arrow-up
    63
    ·
    1 month ago

    Yeah, Excel does that, it always fascinated me. It was so weird writing =KDYŽ instead of =IF in Excel. Different times, I guess.

        • Sorse@discuss.tchncs.de
          link
          fedilink
          arrow-up
          13
          ·
          1 month ago

          Yes, but it would be funny if you could just switch languages in the middle of your sheet, чтобы можно было начать на русском, continue in English,وانتهى باللغة العربية.

          Tap for spoiler

          I hope that the built in translation in iOS can translate to Arabic well

      • bleistift2@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        8
        ·
        1 month ago

        The best part is that if your version of Excel is German, you can’t write =IF(). You have to use =FALLS().

        It’s always fun to google a function and then the translation.

          • bleistift2@sopuli.xyz
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 month ago

            Could be. I try to avoid Excel. And I believe “wenn” is a wrong translation, whether the function has that name or not.

      • MedievalPresent@discuss.tchncs.de
        link
        fedilink
        arrow-up
        4
        ·
        1 month ago

        Internally Excel saves it in English (or some internal code) and translates it when opened.

        My company switched from Excel-Interops, where you had to send the German function name to Excel. Now we write .xlsx files directly and have to send the English function name. But when opened it displays all functions in German (or whatever localization Excel is set to).

  • d_k_bo@feddit.org
    link
    fedilink
    arrow-up
    54
    ·
    1 month ago

    https://github.com/michidk/rost

    Aren’t you müde from writing Rust programs in English? Do you like saying “scheiße” a lot? Would you like to try something different, in an exotic and funny-sounding language? Would you want to bring some German touch to your programs?

    rost (German for Rust) is here to save your day, as it allows you to write Rust programs in German, using German keywords, German function names, German idioms.

    • lily33@lemm.ee
      link
      fedilink
      arrow-up
      7
      ·
      1 month ago

      Too bad that’s based on macros. A full preprocessor could require that all keywords and names in each scope form a prefix code, and then allow us to freely concatenate them.

        • tromars@feddit.org
          link
          fedilink
          English
          arrow-up
          6
          ·
          1 month ago

          That’s how umlauts historically evolved, but nowadays I wouldn‘t say ü short for ue, but its own letter (even though you still can write it as ue if you don’t have it available on your keyboard or whatever)

          • jol@discuss.tchncs.de
            link
            fedilink
            arrow-up
            2
            arrow-down
            2
            ·
            1 month ago

            Well, my point is that it’s not considered a u, and Austrian and Swiss don’t use it.

            Also, fun fact, some romance languages like French and Brazilian Portuguese have an identical diacritic to umlaut but it’s different. It’s meant to mean the vowel is separate (like in the word naïve)

            • fibojoly@sh.itjust.works
              link
              fedilink
              arrow-up
              4
              ·
              edit-2
              1 month ago

              We call it tréma. Aka diaeresis. It explicitly tells you to pronounce two vowels near each other separately.
              A typical use is to indicate a normally silent vowel must be read out. For example “maïs” (MA-EE-S’) is completely different from “mais” (MAY).

            • darklamer@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              1
              ·
              1 month ago

              Well, my point is that it’s not considered a u, and Austrian and Swiss don’t use it.

              It’s true that u and ü are very different things in German orthography, but it must be some bizarre misunderstanding that ü wouldn’t be used in Austria or Switzerland, the largest city in Switzerland is even named Zürich in German (Züri in Swiss German).

  • CodexArcanum@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    28
    ·
    1 month ago

    At least the names are extremely self-documenting. Some of those German variable names are long enough they might even be self-aware!

  • Lazycog@sopuli.xyz
    link
    fedilink
    arrow-up
    26
    ·
    1 month ago

    My experience with German programming languages is with Siemens PLC’s, since the programming language changes together with the IDE when you set the language to German. Looking at Structured Text / Instruction List having U (und) instead of A (and) operator and bunch of other things was interesting.

    But IIRC there were also higher programming languages that are in other languages? Wasn’t there one for arabic? Was this it: https://github.com/nasser/---/

    • LiveLM@lemmy.zip
      link
      fedilink
      English
      arrow-up
      22
      ·
      1 month ago

      Microsoft should be charged with war crimes for deciding to localize both Formulas AND keyboard shortcuts across the Office Suite.

    • dQw4w9WgXcQ@lemm.ee
      link
      fedilink
      arrow-up
      5
      ·
      1 month ago

      Norwegian as well. It’s basically impossible to find the documentation. Translation has somehow changed the order of words, som direct translation of formulaes is not helpful for searches either.

    • boonhet@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      1 month ago

      I hear the French usually program in French as well. I do not want to ever work in France.

      • fibojoly@sh.itjust.works
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        1 month ago

        Nah, just that WinDev thing.
        On the plus side we have actual holidays and good luck bothering me outside of hours, haha!

        • boonhet@lemm.ee
          link
          fedilink
          arrow-up
          3
          ·
          1 month ago

          On the plus side we have actual holidays and good luck bothering me outside of hours, haha!

          I mean we have that here in Estonia too :P

          • fibojoly@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            ·
            1 month ago

            Haha, fair enough! I’m glad you do!
            If you believed the stereotypes, you’d think we’re the only ones, sometimes :)

            • boonhet@lemm.ee
              link
              fedilink
              arrow-up
              3
              ·
              1 month ago

              I think that’s mostly an American stereotype, I believe Estonia and France and several other European countries get roughly the same amount of paid holidays as well as paid time off. Though apparently you guys also have a 35 hour work week, which I’m jealous of!

    • Evil_Shrubbery@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      The French are doing what??

      I mean how?
      Specifically, I need to understand it for scientific reasons.

      • bob_lemon@feddit.org
        link
        fedilink
        arrow-up
        4
        ·
        1 month ago

        It’s Microsoft. For some insane reason, excel formulas are localized. E.g. German Excel uses “SUMME()” instead of “SUM()”.

        It’s insanely annoying because it sport of makes it more difficult to ask for help (I.e. only Germans might know what SVERWEIS does). And if you manage to find a solution in English, you need to translate it.

        • Evil_Shrubbery@lemm.ee
          link
          fedilink
          arrow-up
          2
          ·
          1 month ago

          Thank you for the explanation, I was aware of that.

          My joke was merely on the level of:

          French fucking Excel formulas

  • Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    20
    ·
    1 month ago

    I want a programming language that supports German style composite words

    Java

  • bzah@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    20
    ·
    1 month ago

    I know there is a programming language called windev, all in French, just in case you want to suffer. I would except a good exception handling mechanism in a French base language.

    An example from their website: ` TotalCA est un monétaire = CalculCAMoisEnCours()

    SI TotalCA >= 1 250 000 ALORS LIB_Objectif= “Objectif dépassé !” LIB_Objectif.Couleur= VertFoncé

    SINON SI TotalCA <= 200 000 ALORS LIB_Objectif= “Objectif non atteint” LIB_Objectif.Couleur= RougeClair FIN

    FIN `

  • arschfidel@discuss.tchncs.de
    link
    fedilink
    arrow-up
    18
    ·
    edit-2
    1 month ago

    integer

    Was soll der Quatsch denn heißen? Wer ist hier integer? Bei uns heißt das Ganzzahl, verdammt!!1!

    *wütende Programmierergeräusche*

  • ZILtoid1991@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    1 month ago

    In college, we had to use Hungarian pseudocode. I still have PTSD from it, especially as the teacher was a psycho that had a meltdown every time her “how do you do fellow kids” moment terribly backfired, most infamously by putting Twilight references into a test (everybody audibly cringed reading the tests).

    • QuazarOmega@lemy.lol
      link
      fedilink
      arrow-up
      7
      ·
      1 month ago

      Support your teachers trying to be fun, at least it shows they care enough to put in more effort.
      Also I’m curious how she managed to slide in Twilight references of all things in a programming class lol

  • Evil_Shrubbery@lemm.ee
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    1 month ago

    Whoa, I was expecting just a light joke & was not prepared for this, lolwut.

    I use VBA frequently, don’t actually speak German, so I’ll ofc try this. And none of my code was ever readable (weirdly lewd, but not fully making sense), so that’s fine.