Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Why do people do this, really? And by that I don't mean client messages. I'm talking about creating variables and function names in your native language (if not English). I guess this is fine if you don't ever have to request help and you're the only scripter. Yet, if you do have to request help then people most likely won't be bothered to translate whatever "Vardas", "Vardukas" or "vartotojai" is, and as a result will click away from the thread. I am a Belgian, I speak Dutch, but all my scripts are in English, even the comments.
Posts: 3,304
Threads: 58
Joined: Sep 2008
Reputation:
0
I never understood this either, IMO it's just very confusing if part of your script is in your own language and part of the script is 'English' (default functions like SendClientMessage)
I usually ignore help topics which require me to figure out what a variable means lol
Posts: 1,861
Threads: 103
Joined: Sep 2011
Reputation:
0
I'm half Dutch half Romanian, but I don't like doing it in one of these languages. Why? Because as far as I know, the programming languages are based on English. I try to help people who have scripts in own languages, but when I see stocks, comments, whatever, a collection of things I can't understand, I click away.
True, you can't force people to script in English, but it's a good idea to do if you want good help here, and if you want to have a good programming structure.
This is my opinion though, I guess everyone has to do what they think is best.
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
I wondered this myself. It's quite annoying to try and help someone with scripting issues when we can't even understand their code!
Posts: 1,767
Threads: 124
Joined: Mar 2010
20.03.2013, 20:12
(
Last edited by Riddick94; 20/03/2013 at 09:00 PM.
)
Actually, it's true. I'm a Polish guy and I rather English language in programming. Compilers are based on English, progamming languages are based on English language so, I don't see a point of creating variables, structures, enums, stocks/publics or anything other in different language because, it might make people confused. If I see a script which is created in different language than English, then I skip to the another topic.
English is an official language in EU, I know there's not relationship between 'official language' and 'programming language' but if you want to release something, then it should be in English language.
P.S
To be honest, don't know why but a lot of my files on PC are named in English.. Does this mean, that I'm not a Polish guy anymore? lol.
Posts: 2,528
Threads: 124
Joined: Jul 2009
Reputation:
0
I've never programmed in language other than english. It's latin of our age.
Posts: 772
Threads: 52
Joined: Aug 2010
Reputation:
0
I'm Belgian aswel but I'm yet to write my first program in dutch. If all the functions, all the callbacks, everything, is in English why would you bother doing it in a different language. Just complicates things.
Posts: 2,528
Threads: 124
Joined: Jul 2009
Reputation:
0
Come to think of it, if someone gains unauthorised access to your files, and everything in there is in gibberish - you could say that your obfuscation method successfully helped to protect your code
Posts: 1,251
Threads: 2
Joined: Oct 2012
Reputation:
0
I am always scripting in English.. i even name folders and files in English.. i also opt for English language in all the games i play.. as a Romanian playing a game that's in my language seems kinda weird ? I don't know why ..but it does.Even though i won't share my scripts with someone else than my scripting buddy who is also Romanian .. i still script in English.Maybe it's easier for them to script in their language than in English.I'd say about 80% of the people naming variables in their native language don't know English very well.
Posts: 535
Threads: 36
Joined: Oct 2009
Reputation:
0
I think variables and other things (stock etc.) should be in english.
Comments can be in a another language (i write notes in my language, you can write important comments in english and "personal" comments in a language you prefer.)
Posts: 521
Threads: 10
Joined: Jun 2012
Reputation:
0
I'm romanian, but I use english to name variables and functions, even though I rarely share code.
I don't know why (maybe because I'm not using them very often?), but I find it hard to find synonyms for english words related to programming in romanian and when I do, they sound so gay.
Posts: 15,941
Threads: 0
Joined: Jun 2008
22.03.2013, 12:11
(
Последний раз редактировалось Y_Less; 22.03.2013 в 12:46.
)
I can't personally comment on this as I am English and only speak English - saying I think that code should be English from that point of view is a bit arrogant. However, these things might be of interest:
(Short) Stack Overflow discussion on the subject.
Much more in-depth discussion of the topic, with a brief bit on Linus Torvalds' view (Swedish speaking Finn).
List of non-English programming languages, I've seen a video on
قلب before, though obviously I had no clue what the code said.
Edit: The Linus quote is one I've heard in the past and what I was searching for a source for when I found the first two links. The qlb language is what I was searching for when I found the third link.