But here is my advice. Learning by doing with AI seems akin to copying source from one location (I.e. view source, stackoverflow).
My tips:
- Understand all of the code in a commit before committing it (per feature/bug).
- Learn by asking AI for other ways or patterns to accomplish the something it suggests.
- Ask Claude Code to explain the code until you understand it.
- If code looks complex, ask if it can be simplified. Then ask why the simple solution is better.
- Tell AI that you’d like to use OOP, functional programming, etc.
One way to measure if you’re learning is to pay attention to how often you accept AI’s first suggestion versus how many times you steer it in a different direction,
It’s really endless if your mindset is to build AND learn. I don’t think you need to worry about it based on the fact you’re here asking this question.