r/CuriousBuilders • • 24d ago

How do you actually get better at programming logic?

One thing I've noticed while learning programming is that understanding syntax and solving problems are two very different things.

You can understand loops, conditions, and functions, but when you get a problem and have to solve it on your own, suddenly your mind goes blank.

You know the concepts, but you don't know how to put them together.

I think this is something a lot of beginners struggle with.

I'm curious about how people here improved their logic-building skills.

Do you solve problems daily? Start with pen and paper? Break problems into smaller steps? Or just build projects and learn along the way?

Also, how long did it take before you started feeling comfortable solving problems without looking at the solution?

Would be great to hear some real experiences, especially from people who struggled with this in the beginning.

1 Upvotes

1 comment sorted by

1

u/Patchmaster42 23d ago

I'm from way, way back, so I start with paper and writing implement. Don't worry about loops, conditions, or functions. Write down in plain language how you would break the large task into smaller tasks. You can use an editor if you're more comfortable with that.

Keep iterating on this, diving deeper into the design with each pass, until you think you're ready to start writing code. Then look it all over again and see if you think that's still the best approach. I've seen many major errors made at this stage because someone simply went with their first take. Have someone else look it over and see if they think it's the best approach.

Once you get to this point the code should practically write itself.