Hey everyone! I'm a first-year Computer Science student, and I'm really struggling with coding. No matter how hard I try, I find myself failing repeatedly, especially when it comes to understanding logic. I haven't learned any other programming languages yet, and I'm feeling overwhelmed. It's hard for me to focus, and I even think I might be starting to hate coding. Everyone else seems to be doing so well, practicing on various coding platforms and participating in contests, while I'm still trying to grasp the basics like arrays. I'm stressed and confused about what to do next. I'd really appreciate any advice or motivation to help me get through this. Do you think I can make it as a coder?
6 Answers
Learning to code takes a lot of practice, especially when you're stuck on something specific like arrays. My suggestion is to keep repeating exercises and follow a simple tutorial multiple times. It might feel boring, but it truly helps reinforce the concepts. Try coding without the tutorial too; that will challenge you to apply what you've learned! Eventually, things will start to click for you.
Don't worry, coding can feel tough in the beginning but it gets easier! Just keep practicing the basics over and over again. Everyone struggles when starting out, and eventually, it will click. You've got this!
It's perfectly okay to realize that coding might not be for you—it’s important to find a path that fits you best. Don't feel bad about where you're at; instead, use this as a chance to explore what else might align better with your interests.
I felt the same way! Making sure you grasp the fundamentals is crucial. Dig deep into the reasons behind what you're learning, even for simple things like arrays. Understanding the core concepts will help you in the long run, and it might be exhausting at first, but depth in programming is key!
I've been in your shoes! I'm also doing a minor in CS alongside a design major. The key is to practice what you find difficult until you can handle it without thinking too hard. Look for patterns in the code, find problems to solve, and keep working on them repeatedly. I’m currently tackling C++, and it's challenging but rewarding. Honestly, just keep pushing through the basics, and things will start making sense.
If you're struggling to visualize how the code works line by line, try using a tool like pythontutor.com. It allows you to see how values change step by step in your code. I found it really useful when I was learning Python, and it might help you grasp the concepts better!

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically