Hey everyone! I've realized that while I can read and understand code quite well, I struggle with writing it myself. Recently, I worked on a big project involving sockets—I understood every line of code there, but if you asked me how to actually open a socket from scratch, I wouldn't be able to do it. I'm looking for guidance on how to bridge this gap. What should I do when I get stuck, and what resources can I use to improve my coding skills, especially with libraries I'm less familiar with? Thanks for your help!
7 Answers
Start with the basics: learn HTML since it’s the simplest, then move to CSS, and finally JavaScript. Practice by copying and pasting, and then start building your own projects as you go along.
1. First, take a break from using AI for coding.
2. Find a quality programming course to guide your learning.
3. Keep in mind that learning to write code properly will feel different and might seem like a step back at first—it’ll take time. The key point is that writing code is a skill you need to develop actively, so reverting to beginner basics could really help you.
The best way to improve is to stop relying on aids and dedicate yourself to learning how to program for real. It's kind of like reading a book—understanding it is one thing, but writing your own is another skill entirely. To get over this hurdle, you need to design and think through your own programs. Start small and gradually build up your skills.
If you claim to understand the code fully, it seems odd to say you can't perform the similar tasks the code does, like opening a socket. Consider this: understanding materials in construction doesn't mean you can build a house. Start fresh and be ready to put in the work to genuinely learn coding. If you want to do it, put in that practice!
Try solving around 50 coding problems thoroughly to build your understanding. Once you get a good grasp on coding principles, attempt to build a project using your existing knowledge of object-oriented programming. It'll reinforce your learning!
Honestly, these realization moments can be quite amusing. It’s refreshing to see others notice their gaps in understanding. Keep at it—you're on the right track!
Use AI as a helper for understanding concepts rather than letting it write the code for you. I've always relied on Google and official documentation, even now. It’s common to forget how to use certain libraries, especially after not working with them for a while. Just make sure you’re actively engaged with your learning process, and don’t hesitate to reference the documentation when needed.

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