DEV Community

Cover image for Four Pitfalls of Over-Relying on AI When Coding
Cesar Aguirre
Cesar Aguirre

Posted on Originally published at canro91.github.io

Four Pitfalls of Over-Relying on AI When Coding

I sit somewhere in the middle of the AI hype cycle. Not a hater nor a fanatic.

I’ve been trying to make sense of AI by documenting my experiences and reacting to others.

Here are 4 issues I’ve found with using AI too much:

#1. It makes us lazier than usual. It’s tempting to go straight to a chat for a quick, unreliable answer. That’s the real danger.

#2. It steals the joy of figuring out problems. No more aha moments or happy dances. Just like asking someone to chew our food to be more productive.

#3. It makes you feel you’re cheating. Copy-pasting without understanding has always been cheating, even in the days of forums and StackOverflow.

AI generated code you don't understand is worse than technical debt. It's cognitive debt.

#4. It doesn’t let you build mental models to solve problems. It’s like asking someone else to go to the gym for us, then wondering why our muscles are still weak.

To build future-proof coding skills, check out Street-Smart Coding, the roadmap with 30 lessons I wish I had on my coding journey.

Top comments (3)

Collapse
 
fm profile image
Fayaz • • Edited

My thoughts are aligned perfectly with you on this topic. 🥰

While I just published a mostly AI generated project (link below 👇️) as part of the #hacktoberfest challenge, I really didn't get the joy of building.

The only joy I found was in the few parts that I did myself.

That said, this was a kind of a project I mostly want to hand over to something like an AI agent, so that I can focus on other important things. So for these sort of projects, I guess using AI is fine, for me at least.

Collapse
 
mohan_dhoundiyal profile image
MADAN DHOUNDIYAL •

"Cognitive debt" is the perfect name for it. As a solo founder I lean on AI a lot, and the rule I've landed on is that I only merge code I could explain to someone else. If I can't, I rewrite it by hand or ask the AI to walk me through it first. It's slower in the moment but has saved me from bugs I wouldn't have understood later.

Collapse
 
suppdevbot profile image
DEV SUPPORTS •
You need to verify your account.
Enter fullscreen mode Exit fullscreen mode

tr.ee/dev-to