For example... is there such thing as german C++, or does a german programmer still use "int", "char", "string", etc.
Are programming languages in other countries type with a different syntax?
For the most part, each programming language has only one syntax and vocabulary, and these are most commonly based on English. There is no German C++ or anything like that. However, AppleScript was designed so that programmers could code it in any of a number of "dialects", and in fact Apple created "dialects" for several different natural languages, including English, German, and Japanese. It's a clever idea; I'm not sure why it didn't really catch on (perhaps because it would be hell for compiler authors...).
Also, there is a Perl module called Perligata (see source), which allows one to program in Perl using a Latin-derived vocabulary and syntax instead of the usual English-derived elements. I don't think that Perligata was meant as a serious programming tool, but it's a very well-executed project.
Reply:No.
English is also the universal langauge of programming, although most words used in C syntax are pretty simple and intuitive.
Reply:There is no such thing as a german C, C++, etc. Software developers need to learn the kewords of the languages they are using. However, Object Oriented Programming does afford users in other languages to create classes using that lanugage and thus, a programming environment that at least partially uses their native language.
Here's an idea:
#define ent int
#define car char
you can just use macros to define an equivalent for the English keywords.
I have no doubt that there are programming languages that use keywords other than english, but the major programming environments are in English.
Reply:Syntax is the same.
Reply:Not till now. English is the language used for programming.
The programming languages uses compilers. In compiler there is one part named "lexical analyser" which actually sees what is typed in program, and then give you any syntax error, if there is any typing mistake., or process the typed program if there is no error. This is the first part any compiler will do. If this part is replaced for other languages then it would be possible to write programs in other languages, but till now this effort has not been done, as it is not simple. If you go on to find the basics of lexical analyser you will see that how complicated it will be to build for multiple langiuages.
This can be one reason why chinese and japanese are weak in software programming, while they are much advanced in hardware technologies.
Reply:Simple answer:
English rules the world.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment