• @[email protected]
    link
    fedilink
    English
    56 hours ago

    I want a programming language that supports German composite words.

    My brother in Turing, that’s just camel case.

    • @[email protected]
      link
      fedilink
      2
      edit-2
      6 hours ago

      But you could go further. I want to be able to define an Auto and a Bahn, then immediately be able to go

      new AutoBahn()
      
  • @pleasejustdie
    link
    English
    719 hours ago

    Make enough C macro definitions and you can certainly do that, I did my final project in my high school programming class in the 90’s like that, made macros to simulate QBasic syntax and then just wrote it in basic, the end result is the macros converted everything into valid C++ and it compiled fine. Fortunately my teacher for that class was cool, and he was amused by it and since it compiled with no warnings and did what it was supposed to do, I got full marks for it.

  • @ZILtoid1991
    link
    131 day 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).

    • @[email protected]
      link
      fedilink
      617 hours 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

    • LiveLM
      link
      fedilink
      English
      262 days ago

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

      • furry toaster
        link
        fedilink
        English
        5
        edit-2
        19 hours ago

        THIS SO MUCH THIS, LOCALIZED SHORTCUTS ARE PAINFUL, I CAN NOT FIND WAYS TO FULLY EXPRESS MY HATRED FOR THEM AS SOMEONE WHO HAD TO USE OFFICIE 365 IN PORTUGUESE also btw mnemonic shortcuts were a mistake

    • @[email protected]
      link
      fedilink
      82 days ago

      I’m am immigrant in Brazil and have to deal with Portuguese excel almost everyday. At least I know my Python and only had to deal with excel to do simple things.

      • @[email protected]
        link
        fedilink
        31 day ago

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

        • @[email protected]
          link
          fedilink
          221 hours 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

    • @[email protected]
      link
      fedilink
      52 days 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.

    • @[email protected]
      link
      fedilink
      22 days ago

      The French are doing what??

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

      • @[email protected]
        link
        fedilink
        421 hours 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.

        • @[email protected]
          link
          fedilink
          120 hours ago

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

          My joke was merely on the level of:

          French fucking Excel formulas

        • @[email protected]
          link
          fedilink
          English
          121 hours ago

          Also the required diacritics use the number row on Czech keyboards so you need a numpad or type numbers with Shift.

  • @[email protected]
    link
    fedilink
    20
    edit-2
    1 day 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*

    • @PapstJL4U
      link
      English
      210 hours ago

      So wie Menschen, können auch Zahlen integer sein.

  • Ephera
    link
    fedilink
    English
    282 days ago

    I want a programming language that supports German style composite words

    Java

  • @[email protected]
    link
    fedilink
    592 days 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.

    • @[email protected]
      link
      fedilink
      92 days 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.

    • Eager Eagle
      link
      English
      32 days ago

      I like the branch names auch

        • @[email protected]
          link
          fedilink
          English
          52 days 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)

          • @[email protected]
            link
            fedilink
            -12 days 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)

            • furry toaster
              link
              fedilink
              English
              119 hours ago

              in Brazillian portuguese it had a completely different meaning, and it was used for disambiguation of the pronounciation of some words, in short “gue” in portuguese can make a ghe (gh as in ghost) or a gue (gu as in guatemala), a similiar thing happens with “que”, this umlaug looklike was meant to make clear that the “u” was to be pronounced, so we had spellings like “freqüencia”

              • @[email protected]
                link
                fedilink
                119 hours ago

                That’s exactly the other meaning I described. In Portuguese it was/is used to separate the vowels so they are not pronounced together.

            • @[email protected]
              link
              fedilink
              3
              edit-2
              2 days 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).

      • @[email protected]
        link
        fedilink
        Deutsch
        119 hours ago

        In German you would write “Kamelkiste”, nicht “KamelKiste”. This holds true for most Java class names. I begin to see huge potential for evil …

      • @[email protected]
        link
        fedilink
        English
        42 days ago

        The ruby on rails generators do this sort of magic. It’s fun while you’re using it, but a nightmare to remember how to use on a 10 year old project.

  • @[email protected]
    link
    fedilink
    9
    edit-2
    1 day 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.

  • CodexArcanum
    link
    fedilink
    English
    322 days ago

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

  • Rikudou_Sage
    link
    fedilink
    652 days ago

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

        • @[email protected]
          link
          fedilink
          102 days 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

      • @[email protected]
        link
        fedilink
        English
        82 days 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.

          • @[email protected]
            link
            fedilink
            English
            12 days ago

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

      • @[email protected]
        link
        fedilink
        52 days 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).

  • @[email protected]
    link
    fedilink
    English
    61 day ago

    Functional programming languages kind of are that way. Just chain together enough map calls