Stop Using AI to Write Code You Don’t Understand
Unpopular opinion: The biggest risk of AI coding tools isn’t that they’ll replace developers. It’s that they’re creating developers who can’t code without them.
I’ve seen this pattern repeatedly in code reviews:
– Junior dev uses Copilot to generate a function
– Function works but uses an approach they can’t explain
– When it breaks in production, they can’t debug it because they never understood it
– They paste the error into ChatGPT, get a fix they also don’t understand
– The cycle continues
I’m not anti-AI. I use it daily. But I have a rule: if I can’t explain line-by-line what the AI-generated code does, I don’t commit it. I either learn what it does first, or I rewrite it in a way I understand.
AI coding tools are incredible for experienced developers who use them to go faster. They’re potentially dangerous for beginners who use them to avoid learning.
Am I being too cautious? I’d love to hear from other senior devs and also from newer developers using these tools.
4 Replies
Join the discussion.
Log In to Replycursor changed my life ngl. the tab completion is scary good and the inline editing is so much faster than copilot
switched from copilot to cursor last month. the context awareness is noticeably better, especially in larger codebases
ollama + continue is my entire setup now. runs great on my m2 mac and i dont have to worry about sending proprietary code anywhere
genuine question for the senior devs here - do you think junior devs who learn with AI tools will be worse at fundamentals? or does it not matter?