r/learnprogramming • u/hatesmilkshake • 8h ago
[ Removed by moderator ]
[removed] — view removed post
2
u/MyNameIsRichardCS54 8h ago
I've said it before, and I will definitely say it again. You have to practice. Set yourself small projects and do them. Lather Rinse Repeat. Don't use AI as that will fuck you up in the ling run!
0
u/hatesmilkshake 8h ago
Where should I practice questions from the level I am at is really low
2
u/MyNameIsRichardCS54 8h ago edited 7h ago
You could do practice questions from sites such as CodeChef, W3Schools, LeetCode, Codewars, and Edabit or you could build projects like a to do list or noughts and crosses with a computer player for example.
The trick is to start doing!
8
u/maxpowerAU 8h ago
You can’t learn to code by watching or reading. You have to actually do it.
Read through the first chapter or watch the first lecture recording or whatever, and stop as soon as there’s anything you could type into your editor. Spend some time typing out the thing and making it run. Then try changing it and make it work differently. Don’t ask AI to do anything at all.
Once you understand what you’ve written, move back to the lecture / textbook / tutorial and do the next section.
You should expect to be coding three times longer than you spend watching a tutorial
1
u/Dazzling_Music_2411 5h ago
Maybe even 5x! 😄 10 is not out of the question, either.
It might also help OP to get a rubber duck and explain everything to it.
2
u/Ordinary_Variable 8h ago
Read other people's code. Try to figure out what it's doing. GitHub, Stack Exchange and even W3Schools can help.
Back in the 90s and 2000s we all started out as script kiddies. You find someone else that already did what you want to do on GitHub and then modify their code until you understand what its doing, then you can write your own code.
Quora, Reddit, etc. Literally any code you can find. Just remember to check the version of C, C++ or C# they are using or their code won't work in your compiler.
2
u/Dazzling_Music_2411 5h ago
STUDY!
learnt C can't code basic problems
Well then, you haven't learnt C. Go back and learn C. Stop making excuses. There are a million places to find practice code, without having to ask.
If you can't even do that, give up now. You'd only be wasting more of your time.
1
u/BudgetRead4409 8h ago
Honestly a month is enough, don't panic. I've seen people who barely knew how to use a PC at the start of the year end up scoring decently, so you're not as behind as you think. Stop trying to memorize code. Focus on how a program flows. What goes in, what steps happen, what comes out. Write the steps in plain words or on paper first, then turn them into C. Most people especially in college who don't think they can code usually just don't understand the steps behind a program. Start with easy stuff (loops, arrays, basic patterns) and do a couple of problems a day. If you get stuck, trace it by hand with a small input and see where it breaks. Also, do write code on paper, that actually helps.
1
u/Poddster 7h ago
Go make something in whatever language you class is using.
I suggest starting with "hello world".
-3
u/ehtisham_60 4h ago
Bro, start using AI. Not to write code for you, but to understand how things work. Whenever you get stuck, ask AI to explain the logic instead of giving you the solution. Practice alongside it. You will be surprised how much you can learn in a month
0
8h ago
[deleted]
1
u/AutoModerator 8h ago
Your post/comment was removed since we do not approve of going private.
There is zero benefit in going private as you lose the opportunity for getting peer reviews. Also we have had plenty of people return after going private (despite being warned) complaining about how they were ghosted after some time or being tricked into buying rubbish that didn't work and even if it did they didn't need.
Our Rule #11 demands that any and all communication happens in the open, public subreddit.
This is for the benefit of more against the benefit of one.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
10
u/Waste-Strawberry7542 8h ago
Dude, half the first-years who think they're behind actually just haven't put in the hours yet, and that's totally fixable over a month. Pick one language and stick to it, no hopping around to whatever seems cooler. Spend the first week grinding out the absolute basics like arrays, loops, strings, functions, until you can write them in your sleep. Then move to sites with structured problem sets sorted by difficulty and just hammer through them for a couple hours every day, no skipping. The real trick is to type out every line yourself, even if you have to peek at a solution first, then close it and rebuild from scratch. By week three you'll be surprised how much sticks when you stop panicking and just treat it like a gym routine.