this post was submitted on 15 Jul 2026
36 points (95.0% liked)

Programming

27738 readers
362 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] LovableSidekick@lemmy.world 2 points 2 days ago

Oh I see. It's fine if you cannot reproduce the program from memory after copying it once, because that's not how software is written. The idea is to understand what the various statements are doing in the program - how to use loops, counters, variables, etc. and also howo to break a problem into little steps and procedures which you then turn into code. If I were you I would read a book or watch some videos about programming.

There are only a handful of basic concepts in programming: Variables, Functions or Procedures, Input & Output, Conditional branching, Looping and maybe a couple I'm forgetting. If you study what these are, what they are for and how they work, you will start to understand how to create your own program.

This might be a good place to start: https://coddy.tech/landing/javascript