• Windex007@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    6
    ·
    7 hours ago

    That makes sense as long as you’re not writing code that needs to know how to do something as complex as …checks original post… count.

    • TimeSquirrel@kbin.melroy.org
      link
      fedilink
      arrow-up
      2
      ·
      5 hours ago

      It can do that just fine, because it has seen enough examples of working code. It can’t directly count correctly, sure, but it can write “i++;”, incrementing a variable by one in a loop and returning the result. The computer running the generated program is going to be doing the counting.