I'm currently studying engineering, and programming is a key part of my degree. While I occasionally enjoy it, I often feel overwhelmed and anxious, which has led me to fail multiple times. I've worked with C, C++, Python, and MATLAB—finding MATLAB easy, while C is tough and C++ is even harder. Python is somewhat manageable for me. I tend to think more like a mathematician than a programmer, and I'm considering that diving into discrete math might help. It's just so frustrating not being able to grasp programming as well as I would like. I'm looking for advice on how to improve my skills and any resources that could help me learn better. Thanks a lot!
5 Answers
To improve at programming, you really just need to spend time writing code. Start by writing small programs and then spend time understanding each line. The more you practice, the better you'll get at reading and writing code.
It sounds like you could really benefit from focusing on algorithms and data structures. Have you tried using platforms like LeetCode? The specific language isn't as important as understanding the concepts, which can really boost your programming skills.
Leaning into a mathematical mindset is a plus for programming! But also remember, getting optimized solutions often requires solid knowledge of algorithms and data structures. Competitive programming sites like LeetCode can help sharpen your problem-solving skills in a practical environment.
Learning data structures and algorithms is essential, especially if you want to build larger systems down the line. Understanding the right data structure can make your problem-solving much easier. I recommend checking out resources like roadmap.sh for guidance on your learning path.
I noticed you think like a mathematician. That's great, but remember that programming is more about algorithms than equations. Maybe practicing with data sets or sorting algorithms could help you transition your thinking.

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