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"

7 Answers

Relevance
  • 1 year ago
    Favorite 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.

    • Commenter avatarLogin to reply the answers
  • 1 year ago

    Language is language. You cant speak Spanish in English. Right?

    • Commenter avatarLogin to reply the answers
  • Anonymous
    1 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.

    • Quentin
      Lv 7
      1 year agoReport

      Many are from Europe (eg PHP, C++, Python) but English is the International language of science and computing.

    • Commenter avatarLogin to reply the answers
  • 1 year ago

    Nope

    • Commenter avatarLogin to reply the answers
  • How do you think about the answers? You can sign in to vote the answer.
  • Chris
    Lv 7
    1 year ago

    You can create your own HTML tags, but only for <body> content.

    • Commenter avatarLogin to reply the answers
  • Anonymous
    1 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.

    With webpages it is a bit hit and miss with CSS you can even have eMoji as variable names but you can't use these in the JavaScript other than in strings!

    • Commenter avatarLogin to reply the answers
  • EddieJ
    Lv 7
    1 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.

Still have questions? Get your answers by asking now.