r/learnprogramming • u/Head_Ordinary_2437 • 27d 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
7
Upvotes
5
u/N546RV 27d ago
I’ve been doing this for about 20 years and I still get stuck regularly. It’s part of the job, and learning how to cope with being stuck, manage the frustration, and methodically work your way out of it is a core skill.
2
u/NotAUsefullDoctor 27d ago
I started coding just under 30 years ago.There was no moment that it suddenly clicked. It was more so that I kept trying to solve problems and repeatedly got stuck. Over time I got stuck less and less. But even today I still get stuckat times. It's just about trying to solve problems over and over again. Sometimes that's challenges online, like the Python challenge; and sometimes it's a real world challenge like making a website from scratch for you to post your resume or keep track if a reading competitionamong family.
2
u/winceypoo 27d ago
When you're stuck, write out what should happen for one tiny input before writing more code. For a function that finds the largest number, try [3, 1, 5] and explain each comparison in plain words, then turn those steps into code.
1
u/YWRtaW46YWRtaW4 27d ago
Feeling stuck is part of the fun. You get that great satisfaction when you figure out the solution. You need to like the feeling of being stuck and enjoy persevering through the challenge to succeed.
1
u/NomaTyx 27d ago
It "clicked" maybe six years after I started, during my third "intro to object oriented programming course" (all at different schools, I didn't flunk that badly). I was a young and inattentive child, so it was hard to synthesize all the information. That class is when I had enough info to put everything together and start thinking like a programmer. I finally realized fully what an object is, and ever since then my brain has been expanding like never before. It all makes sense
except when it doesn't lmao, for languages like R that I just don't get it's a matter of gritting my teeth and using it as little as possible
1
u/iqisoverrated 27d ago
If you come from a background where you like math and how to prove things (or how to solve physics problems) then that mindset already exists. Otherwise it's really hard to teach.
Like with math problems you sometimes get stuck. Luckily most problems you face in coding aren't new so there's plenty of resources to draw from.
1
u/BranchLatter4294 27d ago
Practice. Treat it as playing with Legos. You have a few basic parts. Snap them together to create anything you can imagine.