• Zwuzelmaus@feddit.org
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    1 day ago

    Do non-English speakers learn to code in English

    Why should they?

    Code is programming language, not natural language. If they have already learned some natural English, then maybe it seems practical. Otherwise, no reason to try that.

    • Skullgrid@lemmy.world
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      1 day ago

      Well, unless you specifically take steps to change how types and built in functions are called, you’re going to be writing “string” “for” and “if”

              • ThirdConsul@lemmy.zip
                link
                fedilink
                arrow-up
                2
                ·
                21 hours ago

                I think you missed my point. My point is that it doesnt matter that in English if while string integer mean something. You don’t have to know the language to be able to understand the operation they convey, just like math symbols.

              • stormdelay@sh.itjust.works
                link
                fedilink
                arrow-up
                1
                ·
                19 hours ago

                Just because some keywords are in English doesn’t mean the code is in English, variable names, function names, and comments could be respectively in latin, Russian, and Klingon.

      • Zwuzelmaus@feddit.org
        link
        fedilink
        arrow-up
        1
        arrow-down
        2
        ·
        1 day ago

        “string” “for” and “if”

        That’s the part that the experts call “programming language”

        • Skullgrid@lemmy.world
          link
          fedilink
          arrow-up
          6
          arrow-down
          1
          ·
          1 day ago

          And that’s all English. So, in order to use “programming language” , they are going to have to use some English