91
submitted 1 month ago* (last edited 1 month ago) by NONE_dc@lemmy.world to c/asklemmy@lemmy.ml

I ask because sometimes I feel very silly when writing clumsily in English and even sillier when I have to look up how to spell a particular word.

I want to know if I'm the only idiot that it happens to or if on the contrary it's something generalized.

(Mi idioma es el Español, por cierto)

you are viewing a single comment's thread
view the rest of the comments
[-] leisesprecher@feddit.org 8 points 1 month ago

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.

[-] gentooer@programming.dev 1 points 1 month ago

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?

[-] leisesprecher@feddit.org 1 points 1 month ago

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.

this post was submitted on 20 Oct 2024
91 points (98.9% liked)

Asklemmy

43950 readers
771 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. 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.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS