this post was submitted on 20 Oct 2024
88 points (98.9% liked)
Asklemmy
43889 readers
956 users here now
A loosely moderated place to ask open-ended questions
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- [email protected]: a community for finding communities
~Icon~ ~by~ ~@Double_[email protected]~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That depends, actually.
In general, I try to keep everything English, since we do have some international colleagues.
However, I work with a bunch of projects that have some legal/administrative background and certain words have very precisely defined meanings, that can't be easily translated (at least not in one word, so that the next guy can back-translate the word). So in these cases, I sometimes write comments that explain the domain problem in German, because it's much much easier and whoever touches that code better understand the German terms or screw everything up. Unfortunately class and method names are often a weird language mix.
It's not a perfect solution, but given the legal complexities behind seemingly simple words, it's the best of the worst.
That's an interesting perspective. Do you think it would be better to have separate legal documentation in German, which you then can refer to in your comments?
That would be a way to get rid of German comments, sure. But it's also another layer of hassle. Usually, the comments are just a few lines to explain weird behavior.
The naming problem is nearly unsolvable, though. Unless you want to map every concept to a random string, but that's not feasible either.