Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

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
  • 2 years 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.

  • 2 years ago

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

  • Anonymous
    2 years 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.

  • 2 years ago

    Nope

  • How do you think about the answers? You can sign in to vote the answer.
  • Chris
    Lv 7
    2 years ago

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

  • Anonymous
    2 years 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!

  • EddieJ
    Lv 7
    2 years 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.