GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was just wondering if everyone in the world programmed their particular flavor (C, C++, Java, PHP, etc...) in English?
I've personally never seen code in another language, although I'm completely aware that there are keyboard layouts for many languages throughout the world.
Would I be right in assuming that everyone codes in english? Thought it might be an interesting question to ask.
Do you mean using English when naming variables and writing comments? I've seen lots of code done using French, Japanese or Spanish for comments and variable naming. Of course the code itself is C, C++ or whatever.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by DavidMcCann
It can make for problems, seeing that many programming languages need symbols like []{} which are largely restricted to English-language keyboards.
You mean "Latin" keyboards, surely? Apologies for being pedantic.
Edit: I see I am wrong -- I obviously didn't pay enough attention when using AZERTY keyboards so I didn't notice that it's just QWERTY keyboards which have easy access to various kinds of braces/brackets.
Last edited by 273; 09-15-2013 at 11:56 AM.
Reason: I realised my error.
I think the macro language of MS excel/word is language dependent, so the keywords will be replaced if you change the settings. Therefore you can write the program in hungarian, but I do not think it is useful at all.
... it's just QWERTY keyboards which have easy access to various kinds of braces/brackets.
No, it really is just English (excluding Canada) and American Spanish and Portuguese, although you can sometimes get the brackets with AltGr.
Quote:
Originally Posted by szboardstretcher
Anyone have a link to some code written in German, French, Arabic.. etc?
Code:
1130 DEF PROC pfeil (wer$,sev)
1140 IF weiter AND dr<3 THEN fenst wer$,sev
1150 abst=(INT((sev/2)+1)*7)-4
1160 AT #3,0,abst : PRINT #3,CHR$(191)
1170 hoch=-4+sev*7
1180 REP suche
1190 a$=INKEY$(-1)
1200 IF a$=CHR$(192) THEN abst=abst-7:bim 3
----
1380 IF weiter AND a$=CHR$(10) THEN bonus wer$(zal),werk$,zal : IF weg THEN steinweg wer$,zal : CLS #3 : RET : ELSE CLS #3 : RET
1390 CLS #3
1400 AT #3,0,abst:PRINT #3,CHR$(191)
1410 END REP suche
1420 END DEF pfeil
No prizes for guessing the language (and I don't mean German), although I bet you can't!
//------------------------------------------------------------------------------------
// настройки
//------------------------------------------------------------------------------------
// настройки игры
GameSetup Setup;
// возможности железа, получаем через рендерер
eDevCaps *CAPS=0;
and there are lots of comments.
That is very interesting to see.
English does seem like the common programming language from what I've seen now. Odd thinking how that works out in other countries -- if you want to be a programmer in Russia, you have to learn English, Or at least a subset of it.
In most countries, learning English is part of getting a higher education, just as learning Latin was up to the 18th century. Remember how Linus wrote his thesis in English, in a compromise with his professor.: Swedish was Linus's first language, Finnish his second, but the professor only spoke Finnish.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.