• HiddenLayer5@lemmy.ml
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    3
    ·
    edit-2
    1 year ago

    Wouldn’t it be easy to convert the code to any language if this was the case though? Any human-language programming is already an abstraction, so why can’t a programming language be abstracted to more than one human language? Literally just swap the command words out for words in the other language, seems like something modern IDEs can trivially do if a language like that existed.

    Also, non-English speaking countries exist. Some have actually developed programming languages in their own language so the idea of non-English programming isn’t exactly unheard of. There is no reason that code that won’t be edited by English speakers should always be written in English, it’s not like it’s the one perfect human language for interfacing with computers or anything. So I suspect that should this become a reality, you wouldn’t even notice anything’s changed unless you live in a non-English speaking country. Either way your company can still always just require code to be in English, the same way companies have requirements for formatting and software design philosophies.

    • TangledHyphae@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Not particularly, because compilers rely on very explicit syntax to parse. And languages are all structured very differently grammatically speaking.