Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home/iano/public_html/tpforums-vb5/forum/includes/class_core.php on line 5842

PHP Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 588

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 612

PHP Warning: Use of undefined constant archive_postsperpage - assumed 'archive_postsperpage' (this will throw an Error in a future version of PHP) in ..../archive/index.php on line 456
Languages and languages [Archive] - Forums

PDA

View Full Version : Languages and languages



XtrmJash
06-19-2013, 10:01 PM
I noticed some code Ash Katchup posted was in a foreign language, and it made me curious... How many people actually program in their native language?

If you have the time I'd ask everyone to vote on the poll and put some feedback if you think your opinion is controversial, maybe we can get a good debate on the go...

Blequi
06-19-2013, 10:14 PM
that foreign languague is pt-br :p

I'm br and all my code is written in en-us, or at least I try to keep so.

I know my english is far from perfection, but I think is important to keep it as english as possible because at any time in a near future, someone will be able to read it if I decide to share some parts of it, or even the whole work without the needing of rewriting it all.

Puterin
06-19-2013, 10:38 PM
lol, I have never asked myself this :O
and well, I don't really care about what language to use.... as long as I know it lmao xDD

Blaster_89
06-19-2013, 11:10 PM
I always write in English, even if it's some tiny project nobody else will ever see

Diego
06-20-2013, 12:29 AM
Yes, I rather use English on my projects, mainly because it is one of the most used languages and it is easier to read.

Stiju
06-20-2013, 03:04 AM
I never write code nor comments in Swedish, only in English... and sometimes in German... when it needs that extra something.

klusbert
06-20-2013, 05:16 AM
I tried to write code in swedish long time ago, it was horrible. Even tho Swedish is a beautiful language :)

XtrmJash
06-20-2013, 08:19 AM
var kjøretøy = new Snøskuter();
kjøretøy.kjør();

Heuheuaheuaheuahe.

Looked this up a bit today and it looks like the general "rule" is never to program in anything except English. 90% of the posts I've seen say that any code written in non-English probably isn't worth using nor looking at. There is another 10% or so, however, which says that because some people do not speak English it will be far less productive for them to write code in English. I kinda see the point, but then I don't think it should be too difficult, since I'm pretty sure most people can learn enough English to write their program in it. What happens with, for instance, apps which are used for data entry, where the majority of clerks will be native to the programmer? If you surf the web you will frequently find objects named in Swedish, French, German etc, and these are primarily forms. In WinForms I guess it can be expected in certain software (local only) that it can be written in a native language for that reason...

Interesting so far though, there were 2 people here whose native language is not English and who do code in it... Would love to hear from you guys!

Another piece of interesting localisation shit: MS Visual Studio auto generates chunks of code for MFC components... That code comes commented, and the comments are written in the native language of the computer (or at least the native language of VS). The code itself, however, is still named and still generically uses English.

Also, sorry to convert this relatively short post into an essay, but someone posted this in response to a SOF question:


I'm from Canada, but live in the States now.

It took me a while to get used to writing boolean variables with an "Is" prefix, instead of the "Eh" suffix that Canadians use when programming.

For example:

MyObj.IsVisible

MyObj.VisibleEh

Hilarious.

This, however, is valid code in VS:


[Flags]
public enum Товары
{
Непонятно = 0,
Книги = 1,
Тетради = 2,
Карандаши = 4,
Всё = Книги | Тетради | Карандаши
}

Ash Katchup
06-20-2013, 01:03 PM
I noticed some code Ash Katchup posted was in a foreign language, and it made me curious... How many people actually program in their native language?

If you have the time I'd ask everyone to vote on the poll and put some feedback if you think your opinion is controversial, maybe we can get a good debate on the go...

Well, as you saw, i wrote my codes in PTBR.

I'm aware that english codes are far better to share, but unfortunately my boss commands me to use PTBR on my job (i work on a small software house). So, i've developed a habit to create PTBR codes on my private projects too.

Farsa
06-20-2013, 02:00 PM
Interesting so far though, there were 2 people here whose native language is not English and who do code in it... Would love to hear from you guys!

Make that 3. Sometimes I write in pt-br iff it is throw away code or i'm doing it for someone not skilled at all in english

ottizy
06-20-2013, 10:33 PM
I'm swedish and I'm only writing code in english. Just looking at code containg swedish "special characters" like åäöÅÄÖ makes me wanna vomit :(

Sillybill
07-17-2013, 06:10 AM
I’m always into English and I code with it all the time.