Usually you have to need some basic English skills to understand computer language concepts and syntax. And while it would be easier to an English native to guess what the function ‘concate’ does, but what you really need is to know how exactly this function works, what inputs you have to give it, what results you’d receive et cetera.
So, it’s not a big deal.
Regarding comments, some people are writing their comments in their native language. I believe, it’s a bad practice, because you can’t really know who would work with your code after you.
And, funny thing, there are several computer languages based not on English, but on my native language. So, all the classes, all the functions named in my language, and this language doesn’t even use Latin alphabet. Maybe, it’s a question of habit, but I personally had a hard time with that approach. All of this seemed to me too verbose and extremely unnatural, so when given a choice I’d prefer English-based code anyway.
Here in Norway, you sometimes see projects where much of the definitions are in norwegian, but it’s usually seen as a bit awkward and unnecessary. As a norwegian I find it mostly grating to read `public static async Task<IEnumerable<SjaafoerLoenn>> RegnUtLoennAsync(string epost, CancellationToken cancellationToken)`
The best practice, and what everyone learns to work as a programmer is knowing keywords and using English to name functions and variables, some people, mainly university professors and beginners use transliteration to name variables, but doing professional development it is vary rare and discouraged.
Latest Answers