I've been getting into programming for about a year now and I'm questioning my workflow. It often feels like I'm not doing things correctly. Here's how I typically approach a project:
1. I come up with an idea I want to build.
2. I spend a lot of time searching for libraries and resources to help make it work.
3. I start coding with what I know initially.
4. I usually hit an error along the way.
5. After hours of debugging, I often give up and end up using AI to generate the code for me.
I just want some feedback on whether I'm doing something wrong or if this is a normal process. Any advice would be greatly appreciated!
3 Answers
What you're doing is pretty standard for most programmers. One tip though: when you resort to AI help, ask it to clarify what you find confusing. That way, you'll keep learning! It's good to reflect on your process, but remember, you're not alone in this.
It looks like you're on the right track, but I noticed you didn't mention breaking down your problems into smaller parts. That's super important! Think of it like a recursive process: keep dividing problems until they're manageable. Once you have a set of smaller issues, putting them together to create the bigger picture becomes easier, kind of like building with Lego blocks!
Your steps are pretty typical for coding! Everyone hits snags along the way. If there's one thing I'd suggest, it's to impose a time limit on your debugging. Try struggling with an issue for 20-30 minutes before turning to AI for help — that time really helps with real understanding!

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