View previous topic :: View next topic |
Author |
Message |
Alexander-Dan
Joined: 13 Mar 2014 Posts: 111 Location: S.Posad
|
Posted: Thu Jun 25, 2020 5:26 pm Post subject: who uses the native language for variable names? |
|
|
hi!
who uses the native language for variable names, functions, subprograms, labels?
many European languages use the Latin alphabet and additional characters.
How do you solve the problem of native languages and variable names?
I do not know English well, so I do not use it in these cases
Therefore, I write Russian words with Latin characters - transliteration.
This ensures that my foreign colleagues will be able to open my code and work with it.
but I know Russian and Ukrainian programmers who use their native languages to write variable names and other purposes.
it is more convenient for them to work with such code, this is understandable.
but such code cannot be passed on to colleagues from other countries who do not know such languages.
what do you do in such cases? |
|
Back to top |
|
|
Madf
Joined: 13 Nov 2011 Posts: 179 Location: Moscow
|
Posted: Mon Jun 29, 2020 10:02 am Post subject: |
|
|
Hi,
Old topic...
Whose program Basic language is Russian? Not. Therefore, writing in other languages is incorrect. In any case, you will have to get used to the English language. The fact that Bascom supprort refers to other languages does not mean that you need to write in your own language. Yes, you can write for yourself, but sooner or later (as it is now) problems may arise for the ability to share or use the code of other people. The Cyrillic alphabet is not the problem itself, but there is also: Japanese, Chinese, Arabic ... there is nothing at all clear.
Because If the English language is selected as international (and the Basic program language itself comes from there), you will have to get used to the English variable names. In fact, there is nothing complicated, at first you can use a translator, then you get used to it. |
|
Back to top |
|
|
six1
Joined: 27 Feb 2009 Posts: 553
|
Posted: Tue Jun 30, 2020 7:39 am Post subject: |
|
|
if you want to share something, you need common ground.
It will be best to use the English language.
my russian is a bit rusty; cough _________________ For technical reasons, the signature is on the back of this message. |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5914 Location: Holland
|
Posted: Tue Jun 30, 2020 9:55 am Post subject: |
|
|
it is a good question. in a perfect world, i would say : learn english and then use english for the variables and the comment.
but when middle aged it is not so simple to learn a new language and a programming language.
the world will be bigger when you master english : tv, articles, etc. become available.
on the other hand, translators become better and before we know it, it might not even be needed to learn another language. till then i would recommend to learn english by watching TV with captions. and to use english for variables, constants, etc.
the comment you can keep in your own language but even better would be to use english or both.
in code it is very important to describe what you want the code to do. that way you (or someone else) can find faults in the logic.
when your code is not to be shared you can keep your native language since it will not matter. but you never know when it need to be shared. for example because you need support. so bottom line : use english when you want/need to share. as pointed out : BASIC itself is english too. _________________ Mark |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|