DEV Community

Discussion on: How do you deal with naming when you're bilingual?

Collapse
 
damcosset profile image
Damien Cosset

French here.

I only use English for variables, functions and comments. I've been used to do things like that. I learn to code with english resources, so it feels more natural to code in this way. Commit messages are also in English. Like Joao said, I think english is universal enough, most keywords are already in english, and clear code doesn't require a high level of english I believe.

The problem that I have sometimes is to come up with good names to describe what the function or variable is supposed to be.

Collapse
 
valentinpearce profile image
Valentin Pearce

I have trouble finding good names in French that are not so long you've forgotten the beginning of them when you reach the end.

I guess it's a force of habit.

Collapse
 
damcosset profile image
Damien Cosset

It honestly feels weird to try to write code in French. It just doesn't feel natural. I suppose it's because I only wrote in English, but it's really strange.

Collapse
 
jerbiahmed profile image
JerbiAhmed

Been in the same case .. Our direction decided to outsource a project to India .. they asked us to translate docs from French to English