I’m a beginner in programming, and I found out I cannot even reproduce a simple number guessing program I have earlier copied from a book.

Is it a beginner issue, or there is more than just continuing to learn to be able to code without hints?

  • LeapSecond@lemmy.zip
    link
    fedilink
    arrow-up
    12
    ·
    18 hours ago

    Next time you can try writing the steps down in plain English first, just to get a feel of the program’s flow. If you’re comfortable with that and it’s just the syntax you don’t remember, don’t worry, you can always look up commands. After some practice it’ll become much easier writing the commands from the beginning.

    • Eq0@literature.cafe
      link
      fedilink
      arrow-up
      6
      ·
      18 hours ago

      Absolutely!

      This is called “pseudo code” and can help you streamline your thoughts. You can make it more and more rigorous and then swap the english with the programming language of your choosing