Rost – Rust Programming in German
github.com
github.com
It's probably what you got used to when you first learned it though.
Because I am also slow at reading math / the theoretical part of IT in English because I learned it ... in Romanian.
Edit: to the point that I didn't remember the "theoretical part of IT" is "Computer Science" when posting in a hurry :)
When it turns out they were using a different version and didn't have that option, we still had to figure out what translates to what – if the option even is there at all.
- struktur could have been strukt - umstz could have been impl as in Implementierung was added to the German language - nutz would be a more realistic replacements of use - Mutieren is a German word so mut would stay mut - unsafe is better translated as unsicher, not gefährlich which is dangerous - hinein is a translation for into but .into() a short for "convert into", which in German is "konvertiere zu" so `.zu()`, similar "convert ... from .." would be roughly "aus ... erstelle ..." so `.aus()`. - etc.
in general authors do choose language keywords, syntax and acronyms so that they flow/read reasonable nicely and that isn't true here in many ways. If we don't just try to translate by word but by what we mean with the word in given context then verhalten would be a better choice for trait and you can definieren (define) behavior so `impl Behavior for Thing` become `def Verhalten für Ding`. Similar static wouldn't become statisch but instead global.
I have a friend who works in such place. DeepL is a most important piece of software he uses, the problem starts if DeepL messes up some details. Meetings are a nightmare, communication is a nightmare. Managers try to mitigate all that, by avoiding employees from Germany in the projects, what is pretty funny, as company is multinational, but of German origin, and most of the managers are Germans...
This attitude is just one of the many factors that led to https://www.amazon.pl/Kaput-German-Miracle-Wolfgang-Munchau/...
If the team is mixed, that means someone would need to learn and use a foreign language. Why does it have to be always only English?
That being said, I still prefer a programming language in English, but it's not like there are no precedents here. Many Germans are used to writing Excel formulas in German.
Why not code? Or, better yet, why not a built-in translation layer in a programming language, that would allow writing code in any language, and translate that on the fly to and from a universal internal format?
And many Japanese are used to writing Excel formulas in Japanese. Excel is such a crap program. Good luck with spreadsheets which have formulas in anothe language.
> Or, better yet, why not a built-in translation layer in a programming language, that would allow writing code in any language, and translate that on the fly
Because some words' meaning is context dependent.
"We don't need no education"
And English is the only language where that is true?
> "We don't need no education"
Then educate yourself and learn another language. Something tells me you are fluent only in English.
Excel always shows the formula names in your system language. If happen to be on a computer set to Japanese and prefer English, just set it to that. Why does the whole world need to assimilate to English to save you the - rare - inconvenience of two clicks?
Because a lot of people already know English. You can find good candidates anywhere, bring them together, and they will be able to work together. That's the advantage of English today. There are no reasons to build artificial barriers that hurt cooperation in your company and your country's economy in general, other than nationalistic ones.
It is especially silly in countries like Germany, which suffer due to a lack of qualified workers and an aging population. I'm not saying that immigrants shouldn't learn the local language, but there should be other mechanisms and incentives outside of one's workplace.
Welcome to Europe where every country has a different language that's not English. You call this nationalistic, but how many people in the Anglo-sphere would be comfortable working in foreign languages?
A lot of workers, especially older ones, still aren't fully comfortable in English beyond ordering a pizza on vacation abroad, and the older ones also have a longer tenure and a bigger voice in the company. And European companies are a lot older than US companies due to a lot of factors.
Plus, most often, European companies build products for local markets rather than the international markets, which means local language knowledge is mandatory besides English, so then when a lot of the product management, sales, marketing, customer support is all done in the local language, how can you expect to have the SW dev team to be the only insular one without speaking the local language?
>which suffer due to a lack of qualified workers
There's no skill shortage in IT work. Every open position gets enough applications form local candidates in this economy. The skill shortage is in poorly paid hard labor jobs that nobody likes to do like elderly care or construction or that requires doing night shifts.
I would be really peeved if a random guy on my team could force all of us to program in German. It creates a lot of unnecessary friction.
other people however are busy implementing something in rost to further anger the former
I'm not sure about this statement. See [1]:
"The Regional Labor Court (Landesarbeitsgericht - LAG) of Nuremberg had to rule on a motion by a works council, in which the latter demanded that the discussions held with it be conducted only in German. At the same time, it demanded that all communication between the branch management and the employees be conducted in German. The Regional Court rejected both motions of the works council."
[1]: https://www.heuking.de/en/news-events/newsletter-articles/de...
"Contrary to the view of the works council, communication in English is also not an obstruction of the works council. The court explained that it is crucial how the works council receives the communication. In the disputed case, texts were previously translated into the German language. Face-to-face conversations were translated by those present into German or into English for the branch manager. This was not objectionable, since the risk of a wrong translation was at the expense of the employer."
... merely suggesting the possibility that the keywords of a programming language could be freely translated back and forth between two human languages (in a totally compatible way!) immediately generates comments such as "horrible", "a nightmare", "this is why that country is a failure"...
I mean, this is a 1-to-1 transcription of very specific, identifiable, unique, protected words in a text file.
And this is the top-rated comment when I write this. Who are you, people who wrote or upvoted this? Why are you so scared by any deviation from what you are used to?
"freely translated back and forth between two human languages" isn't a thing. You might as well insist that Pi is rational.
So what you get instead is awkwardly translated back and forth in a way that increases confusion. Nobody actually wants that. You're arguing for much worse outcomes, as a result of an at best naive understanding of what language is.
Excuse me, what is hard in taking this: https://doc.rust-lang.org/book/appendix-01-keywords.html
And translating those back and forth?
In fact, if it "can't exist", how can Rost be "fully compatible with English-Rust, so you can mix both at your convenience"?
And Rouille? https://github.com/bnjbvr/rouille
And Unirust? https://github.com/charyan/unirust
But the problem is that while we can mechanically perform the operation that doesn't have the effect claimed, it's as if people expected (and I know this does happen with idiots) that Chinese is just the same as English but with different symbols.
SAP is also a “German tech company”, and I bet most of their non-Germany based employees don’t speak German either.
Thanks! Sounds like an interesting read. German manufacturing is in a really tough spot indeed. But, just to have a bit more nuance in the discussion. It's not all hopeless. Munro loves the new electric motor from VW [1]. And I'm personally also very impressed by multiple high quality open source projects that are made in Germany such as Typst and Forgejo.
Many large german companies use english as their primary language, so I doubt this claim.
This is flat out wrong and you link to a very poorly researched book with a lot of blatantly false populism in relation to energy politics.
Also, I would bet that most Germans would also use "fn" as a two-letter shorthand for "Funktion". But it just had to be different, so they chose "fk" for "FunKtion"...
In contrast, when I worked for Goldman Sachs business unit 'Fixed Income, Currency and Commodities' I made sure not use their abbreviation in polite German company.
Supporting multiple languages is a problem all right: googling, communication, etc...
It depends.
> So switching by locale should not be a problem?
Until you get an Excel file written in another locale. The coolest one i had was one with Japanese formulas.
I mean sure, hurdur Microsoft dumb, it's a classic joke. But if that was the first attempt at translating keywords, then how is it "really funny"?
It just gets my goat when people make fun of innovators with the benefit of hindsight.
It's a very dangerous path to walk down, to think to yourself "I'm smart and powerful, but most of my customers are stupid and helpless, so it's not the needs of my peers that I need to cater to, but rather the needs of the [stupid] many". The contrapositive of that is: Most of my customers aren't truly my peers. Well that's the first step on a slippery slope towards: These people aren't really deserving of being treated in a moral/ethical way, the way I would treat my peers and the way I would expect my peers to treat me.
Being forced to use their software while outside an English speaking county is terrible.
Many times in corporate environments you don't have permissions to do that, and let me tell you it's a pain when you 5 layer down a RDP rabbit hole to figure out which locale you're using
Because they didn't really bother to ask native speakers if the translation makes sense in the target language.
In german Excel it's might be ok due to its original focus on numbers, but replacing decimal "." with the german "," also forces you to use a semicolon everywhere where you would use a comma (function, vector/array notations). To me the most annoying issue with localized programming languages. And consecutive ";;;" just looks awful. And what would happen to command/line endings...
BTW, Apple once tried to translate content-specific parts of their AppleScript language (like Dialogs etc) but in the process also hit some enumerations which often sit at the border between programming language and content. Big desaster in certain edge cases.
Anyway. Of course I like that the effort was made. There are famous Asterix comic books translated into all kinds of languages and dialects. I'd really like to see great localized coding languages, but I guess they will have to avoid line ending semicolons and only use integers :)
The best part is that sometimes you get new numbers.
Excel is showing to a user what AI can do to a document: destroy it.
Discussing number data with current LLMs also does not seem right at the moment. Not sure if simple column-specific conversion tasks might work.
I also propose Eierlegende Wollmilchsau as a type, that would be fun!
https://github.com/bnjbvr/rouille?tab=readme-ov-file#other-l...
Rouille was previously discussed https://news.ycombinator.com/item?id=28490935
(Swedish is Linus Torvalds' native language.)
Generally, I have no issue switching between German and English for anything, be it movies, books, conversation, etc.
Coding is just something though that my German brain will refuse to do. It feels foreign and just downright weird. That's the best I can describe it. I even started learning to code in German. German is also one the languages that generally has a ton of resources translated and translated well. I just cannot do it though. Syntax and technical terms in German just turn my brain to mush.
Though I will say that “benutze” is much longer than “use” haha.
Would be hilarious to make a Swiss German version.
Edit: the words are abbreviated which makes it that much harder for a non native German speaker. Seems like German is much longer on average. That’s one plus of English over German.
I do wish more languages had capitalized nouns though
Now it's true that English is particularly full of short terms.
But I wonder how a programming language would have evolved if one had chosen German (or another) language from the get go instead of having a translation
I would have probably just gone with 'nutze' instead.
PS. I speak Persian, know Arabic, Serbian too but none offer the ease of text to code as German.
Some of the German Rust folks have joked about wanting to hold a conference here. We could go to the amusement park!
https://scala-lang.org/blog/2017/04/01/announcing-skala.html
https://github.com/e-n-f/if-then-else/blob/master/if-then-el...
Btw, 'sonstwenn' seems really silly. 'ansonsten' or just 'sonst' might be more idiomatic.
Hmm, the actual code uses 'anderenfalls', which also works, but is a bit longer than 'sonst'.
https://github.com/stared/rdza
Polish can into Rust!
The Right Thing for Polish would be to leverage the Polish inflection and freeform syntax, in the vein of Perl’s Lingua::Romana::Perligata [0].
[0]: https://metacpan.org/dist/Lingua-Romana-Perligata/view/lib/L...
FWIW I teach in a German-speaking area, and all of my material is in English.