Do, for example, Chinese people use Chinese characters to program? Or do they have to use the standard American type of keyboard and the ANSI character set for that?
I mean I know there are some languages that have keywords that are based on non-English languages, but what about the character set itself?
12 replies to this topic
#1
Posted 23 January 2012 - 11:08 AM
|
|
|
#2
Posted 24 January 2012 - 03:35 AM
Isn't there thousands of hieroglyphs in Chinese? Can't imagine fitting them on keyboard.
#3
Posted 24 January 2012 - 06:49 AM
I know such a system / language. Commands can be written in two languages.
Read the code in the Russian language - the horror. ;)
Meanwhile, Russian is my native language, I have poor English and more than 20 years of programming (12 as a profession)
Read the code in the Russian language - the horror. ;)
Meanwhile, Russian is my native language, I have poor English and more than 20 years of programming (12 as a profession)
#4
Posted 24 January 2012 - 07:58 AM
So it's mostly ANSI characters that are below 128?
#5
Posted 24 January 2012 - 12:37 PM
RhetoricalRuvim said:
So it's mostly ANSI characters that are below 128?
No. Our alphabet in range from 192 to 255. For Windows-1251 Windows-1251 - Wikipedia, the free encyclopedia
or 129-266 for CP866 (DOS).
But! This is a 8-bit character encoding. There is also a multibyte encoding. For example UTF-8 UTF-8 - Wikipedia, the free encyclopedia
Sorry, for my pure English. Please read wiki for more
---------- Post added 01-25-2012 at 12:37 AM ---------- Previous post was 01-24-2012 at 11:43 PM ----------
For example: Keyboard photo http://www.computerr...hiper/08BIG.jpg
And joke - keyboard for blonde:
http://www.infobarre...a/image/894.jpg :)
#6
Posted 24 January 2012 - 01:00 PM
I do know that there are different encodings; I just wanted to know whether any computer languages use non-English (abcd) or non-symbol (=>-+...) characters.
#7
Posted 24 January 2012 - 01:16 PM
Yes, there are separate development. For example I have seen such language in the banking system. And as ubiquitous in the Russian system for accounting. In general, this language like as C/C++. They can use the same key words in English and Russian languages
#8
Posted 24 January 2012 - 04:25 PM
#9
Posted 24 January 2012 - 04:32 PM
It depends on the language, but C/C++ generally only officially support 7-bit ASCII.
#10
Posted 24 January 2012 - 04:44 PM
What about languages like Arabic and Japanese? It would make sense for languages like Spanish or Russian, because they're similar to English in that there are consonants, vowels, etc., while the other languages are strange to most of us, in that they look like some scribbles. Some of them are pictographic, too; I wonder how one would program using that.
#11
Posted 24 January 2012 - 05:07 PM
Unicode strings.
#12
Posted 24 January 2012 - 05:43 PM
But would those people use the ASCII character set, or do they have their own characters for programming? (And yes, I do know about unicode; and I also know what a string is, though not sure exactly what you meant in the context.)
I know that Ruby is of Japanese origin, for example; did that guy who started Ruby write it in Japanese, or did he have to learn English, or did he just use English characters?
Or in other words, would this be any different if written by a, for example, Japanese?:
I think C was written in the US, right? I don't really know where other computer languages were made, except for these one or maybe two.
I know that Ruby is of Japanese origin, for example; did that guy who started Ruby write it in Japanese, or did he have to learn English, or did he just use English characters?
Or in other words, would this be any different if written by a, for example, Japanese?:
sum= 0 for i in 0..10 sum= sum + i end print sum(This?: Google Translate)
I think C was written in the US, right? I don't really know where other computer languages were made, except for these one or maybe two.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









