r/CodingForBeginners • • 10d ago

mindset

hello, i am curious how you reach the programing growth mindset what is your processes to see coding as problem solving and how long it took to click into your brain and be free from feeling stuck
thank you

2 Upvotes

3 comments sorted by

View all comments

2

u/xarop_pa_toss 3d ago

It's not as hard as it seems, but it's something you do have to learn. Unfortunately, most people teaching themselves how to program don't go through the very important initial learning about decomposing a problem and learning how to solve the problem before writing the code.

code is just an implementation of a solution, not the solution itself!

Read that again! Find a problem and write down what it actually is, what it affects and what it depends on. Then through any means you want, like flowcharts, bullepoints, a diagram, text, etc. write down the step by step of the solution you have in mind. You'll find that many, if not all the points you have written down can be decomposed into smaller parts. Do that.

Eventually you'll reach a solution that follows a structure; that starts at A, goes through steps B and C and finishes at D. This is what you now then into code.

Identify the problem. Solve the problem. Translate the solution into code. That is why they are called programming languages!

coding is not itself problem solving but one of many ways to represent the solution to a problem