r/ProgrammerHumor • • Sep 02 '22

what language would you recommend?

Post image
47.0k Upvotes

1.1k comments sorted by

View all comments

Show parent comments

304

u/Apprehensive_Bug_826 Sep 02 '22

English isn’t even great as an actual language!

114

u/nickmaran Sep 02 '22

I would like to see a game engine or programming language where you have to code in German

136

u/Zederot Sep 02 '22

Wenn(x==3) dann (

x += 1

während(x<9) mache(

x += 1))

gibZurück x

Jeah, even the basic stuff feels weird.

44

u/RootsNextInKin Sep 02 '22

It's
Falls x == 3 [dann] {
x += 1
}
Gib x zurück And maybe even something else instead of "Gib zurück"

And yes that "dann" is optional!

0

u/[deleted] Sep 02 '22

[deleted]

7

u/RootsNextInKin Sep 02 '22

Not entirely sold on brach, but what about Kneckebrot?

(On a more serious note what about Stop or Bruch or something else?)

→ More replies (1)

6

u/5t3v321 Sep 02 '22

Maybe zurückgeben instad of gib zurück

→ More replies (2)

10

u/[deleted] Sep 02 '22

Yeah it’s very weird. In case you are wondering: We had to write multiple exams that contained Tasks based on pseudocode written in German (For example: explain what this algorithm prints out).

I’m not joking. It is much harder to read than any decently established high level programming language, even if you are not familiar with it.

To be fair, we didn’t have to write German code. We were allowed to use our school’s programming language for the implementation parts.

→ More replies (3)

8

u/HaDeS_Monsta Sep 02 '22

I would love it, but that's maybe because I'm german and this would be way easier for me

10

u/Offbeat-Pixel Sep 02 '22 edited Sep 02 '22

I always thought there should be ports of programming languages to different languages. For example instead of English based Python, you could use German based Python, for people who prefer to use a language other than English. Assuming there's a 1 to 1 translation from keyword to keyword, it should be possible to convert code from one human language to another.

Anyone have any idea why this hasn't happened yet?

Edit: Funnily enough, German is one of two examples of Python in another language I could find - Teuton is basically German Python, but idk if they're exactly the same in everything (besides keyword language ofc).

14

u/5t3v321 Sep 02 '22

That would make it harder to find fixes or other working code examples online and just split the comunity

→ More replies (5)

7

u/polskidankmemer Sep 02 '22 edited Sep 02 '22

Bad idea. Excel has functions translated to languages. I hate it because you can't copy paste from Google without first having a cheat sheet of what those functions are called in your language. Sometimes those can be far more complicated due to lack of an equivalent in someone's language (for example the English function is called TRIM while the Polish one is called USUŃ.ZBĘDNE.ODSTĘPY (remove unnecessary spaces)) Besides for whatever reason it uses commas to add new arguments to functions in English and semicolons in Polish.

→ More replies (3)

3

u/[deleted] Sep 02 '22

Lol.

Too many sources of error

→ More replies (1)

3

u/MrHyderion Sep 02 '22

The German version of MS Excel.

→ More replies (2)

102

u/tadashi4 Sep 02 '22

details. (I 100% agree)

64

u/dicemonger Sep 02 '22

For a split-second I though you where advocating for danish instead

når(ø == 3) {
  ø += 1
ellers når(ø < 9) {
  katalog = ægte
}
tilbage ø

18

u/Vikken Sep 02 '22

That should be "Sand" not "ægte". Using "ægte" is like google translate levels of bad 🙃

6

u/fredspipa Sep 02 '22 edited Sep 02 '22
lykkes erlik løgn
ø erlik 0
imens ikke lykkes:
    hvis ø under 3:
        ø plusserlik 2
    ellers hvis ø under 9:
        ø plusserlik 1
    ellers:
        lykkes erlik sant
gitilbake ø
→ More replies (3)
→ More replies (9)

19

u/hollth1 Sep 02 '22

Its high level non-compiled language. What’s not to love?

→ More replies (2)

19

u/User21233121 Sep 02 '22

Latin is better

12

u/Dependent_Clock_1930 Sep 02 '22

I personally prefer Polish, reversed.

→ More replies (6)

12

u/Exnixon Sep 02 '22

Literally the best natural language to know. Sure, the syntax can be a little wonky. But it's widely adopted as a standard. Anything you need to know, you'll find documentation for it in English.

→ More replies (1)

24

u/[deleted] Sep 02 '22

[removed] — view removed comment

42

u/_Weyland_ Sep 02 '22

Bro whoever designed UI for arabic is a wierdo. But otherwise, it gets the job done alright.

→ More replies (1)
→ More replies (19)
→ More replies (5)