Does "don't use symbols other than English letters" still make sense today? #6248
Replies: 4 comments
-
As a general guideline, I think it still makes sense, for several reasons:
But even then, it's still a guideline, not a law. And the one you quoted is specifically for the public API of libraries, not things like local variables. And since you know your situation better than any guideline ever could, you can still decide for yourself if you're going to follow the guideline or ignore it. (Note that I'm biased: while I'm not a native English speaker, I do use English almost exclusively in my professional life.) |
Beta Was this translation helpful? Give feedback.
-
This is not a rule of c#. And I've seen many code bases that do not use English. |
Beta Was this translation helpful? Give feedback.
-
When I taught C# classes, often to non-native English speakers, I saw a mixture of uses.
There's no language requirement. The most important factor should be the team and others reading and maintaining the code. |
Beta Was this translation helpful? Give feedback.
-
I'm not a native English speaker. Generally, you should consider the properties of each codebase:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Every teacher said so, but no one explained the reason to me.
I see in the history of C shar that he has used Unicode encoding since his birth.
That is to say, C Sharp has supported all national languages since the beginning.
I don't know the past of other languages, but I think they should be the same now.
We are a small company. Our colleagues are not good at English. They like to directly use the words of our country as variable names.
In the current document, there is still "do not use underscores, hyphens, or any other nonalphanumeric characters."
I'm confused. Is this agreement directly for large companies? Because they may have employees from different countries?
Or considering that they may raise questions in international forums? Or was it that people used to use English long ago, and now even if they can use other words, people are not used to it?
(Machinetranslation may not be able to express my meaning accurately. i 'm sorry)
Beta Was this translation helpful? Give feedback.
All reactions