About programming logic build
Posted by MD_Husnain@reddit | learnprogramming | View on Reddit | 5 comments
I started python few days ago but i am not very consistent with it because when I learn any func I understand the concept of it but I don't know where to use that this or how does it going to help me in real life to get job means I am learning at a single line not learning at stair I don't think I am getting better in it, any solution, thanks
raees1989@reddit
When we first start learning programming, the focus is usually on syntax. We memorize how things are written, but often don’t really understand why one function should be used over another, or the trade-offs between similar approaches.
That’s why I think learning a language through DSA (Data Structures & Algorithms) problems is a much better way to build a solid foundation. It forces you to actually apply concepts, reason about performance, and see the practical differences between solutions.
Sure, DSA won’t expose you to every single function a language offers, but it gives you enough hands-on context to figure out most of them as you go.
ElsartjCrocus@reddit
This is the w w way.
aqua_regis@reddit
So, you barely started. Sorry to be so blunt, but that's the plain truth. Tone down your expectations.
Check the MOOC Python Programming 2025 - this is a beginner course and it lasts for 14 weeks. How can you expect results after a mere week and a half?
Programming is lifelong learning. It takes months to build up basic competence, years to obtain some proficiency and a lifetime for expertise.
I'll leave some comment from a former, similar post here:
Honestly, most of it is down to practice. Use sites like Exercism for ample practice exercises.
There are several books commonly recommended:
And finally, I'll leave some of my comments to previous, similar posts, as this is a very frequently discussed topic:
jtdbrab@reddit
Beginner here myself, but I think the best thing to do is ask yourself the following:
Imagine you weren't learning 'to code' but decided you wanted to learn chinese. Would you expect, after a few days, to be able to form full sentences, hold a conversation, read a book? Of course not!
Just take your time to get a feel for how rhe language looks And feels. As with any language, you won't be able to go straight into translating texts, writing original texts. Just get used to the syntax. When you encounter something new, play around with it.
don't just take a lesson and move on. Open your coding environment and try out everything you can think of. Some of it will work, some of it won't. Remember this and then when you get to the next new concept, some of what did not work might start to make sense.
That's what people mean with 'do projects'. You don't need to start with revolutionizing Python. Just making a function where you understand every part is already a good project to start with.
Good luck!
deanlinux@reddit
Like other user said, try out more actual use examples.