News for hackers. Stuff that matters.
Re:Rost – Write rust code in German by bryanrasmussen on Wednesday November 10, 2021 @04:03PM (#29180741)
This makes me wonder - are there programming languages that are naturally suited to be written in some particular human language?

Off the top of my head:

Perl should be written in Welsh.

Lisp should probably be written in Greek.

not sure about others, but personally -

Cobol in German.

Re:Rost – Write rust code in German by arh68 on Wednesday November 10, 2021 @06:22PM (#29182330)
See also Perligata. Not saying Welsh isn't better. I'm neither a Perl nor Latin expert, so I just trust em when they say

> Latin is a surprisingly good fit for Perl. The rich case structure provides an abundance of plausible mappings for Perl data types and subroutine calls...

[1] https://users.monash.edu/~damian/papers/HTML/Perligata.html

Re:Rost – Write rust code in German by woodruffw on Wednesday November 10, 2021 @04:19PM (#29180986)
I'm not sure if I agree with it, but you could make an argument that programming languages are colored by the L1 languages of their initial designers. So you might see a bit of Japanese in Ruby, and a bit of Brazilian Portuguese in Lua. But programmers in general tend to have excellent English and are inspired overwhelmingly by languages written by English speakers, so it's difficult to evaluate.
Re:Rost – Write rust code in German by bryanrasmussen on Wednesday November 10, 2021 @04:51PM (#29181417)
I guess Ruby's compatibility errors for incompatible encodings comes from familiarity with Japanese encodings which presents problems most American programmers would be unfamiliar with.
Re:Rost – Write rust code in German by mkl95 on Wednesday November 10, 2021 @04:18PM (#29180957)
Python should be written in English.