can you code in another language?
learning some programming and thought, wait, would a computer know what i meant if i replaced "head" with say "cabeza"
- Shadow WolfLv 61 year agoFavorite Answer
It depends on what you mean by another language. I have a project I'm writing programs in QB, C and C++ at times. The program logic is at least functionally if not literally identical with allowances for each specific programming sysntax. So in this sense, different languages can do the exact same thing and the program may actually look nearly the same internally as well as externally when it runs.
If you want to substitute words from Spanish , German or even Esperanza for the reserved words of a programming language, then no, you can't. The compiler or interpreter is looking for specific words and exact syntax to do its job. This would be real easy to show with a relatively small compiler or interpreter tutorial.
There is also a third option. Multi-language programs are written to specifically allow the use of an alternate language in place of English. Internally, the programming language is normal, but it uses a different langauge text for prompts and responses. The programming language is just processing character codes and doesn't actually see it as anything different.
- JasonAmazingLv 51 year ago
Language is language. You cant speak Spanish in English. Right?
- Anonymous1 year ago
Most of these technologies were developed in the United States. Due to that, most of these kinds of languages were developed in English. I would say that almost all common computer languages are in English (besides variable and method names that can be customized). So, y'know, get learning English.
- x-Wulfgar-xLv 61 year ago
- How do you think about the answers? You can sign in to vote the answer.
- ChrisLv 71 year ago
You can create your own HTML tags, but only for <body> content.
- Anonymous1 year ago
No, they aren't good at any languages other than the American English variety. At least for the languages key words. So in HTML <head> is OK but <cabeza> isn't.
Some languages now allow Unicode so at least some comments and variable names can be in other languages.
- EddieJLv 71 year ago
String in quotes and comments can contain anything.
You could have a pre-processor that replaces words
There are some programming languages based on other natural languages.