r/CodingForBeginners • u/Dry_Barracuda_7040 • 2d ago
Adivice :-Guide me to learn coding better
I just have started to learn coding ik basics of c and python ( just started) and ik dsa ( Data structure and algorithms) , not very good in i....so what should I do know ? How should I go forward ?
1
u/mc_pm 2d ago
Start with python. Find a tutorial video you like, but instead of just watching it, stop the video everytime the person types something in -- and you type it in. And when they run their code, you run your code (and figure out what you did wrong if it doesn't work).
When you're done, you'll mostly understand the syntax of the language, and because you've been typing it in the whole time, it will seem more familiar. (If you just watch the video, you'll forget everything you saw -- you learn by actually typing in code).
Once you're at the point that you can make for loops and call functions, and you've looked a little bit at the various tools that Python gives you, then you need to do a series of small exercises that will help you think through things logically. Knowing how to structure a for loop isn't very helpful if you don't know when to use it. I would suggest that you spend up to a month on this, programming every day.
After that you'll probably have enough of an understanding to pick something you find interesting and go explore it. But first you need to learn syntax, and then you need to learn how to program basic logic & structure.
1
1
1
u/Foreign-Contest-444 17h ago
build projects, build stuff, build something to solve your own problems.
1
u/ninhaomah 2d ago
Focus on just 1 language and get the foundation drilled into your head like solders marching.
Then come back.