r/coding • u/matijash • 1h ago
If AI writes perfect code, should you understand it?
https://wasp.sh/blog/2026/12/03/should-you-read-ai-code
0
Upvotes
r/coding • u/matijash • 1h ago
18
u/KokopelliOnABike 58m ago
Yes!
If you have ever done prod support and get a call at 2:00am you'll understand why.
7
u/Ythio 50m ago edited 29m ago
Isn't understandable part of your definition of perfect ?
Why am I employing you for if you don't understand the software better than a kid picked off high school ?
I make financial software. If I can't review the calculations, who can ? Should we trust any number that comes out without knowing how it is computed ? Would you trust us with your savings ?
2
u/creaturefeature16 51m ago
"Machines create perfect vehicles, do we still need people who understand how they work?"
2
u/TheRealSeeThruHead 47m ago
I mean how do you define perfect code
For me it’s always been ona bunch of metrics:
Is it simple, have low cognitive overhead, does it encode the domain (types etc)
So like what makes code perfect or not perfect is entirely about can humans understand it and change it
And none of that has changed with ai
Developer experience and agent experience is almost 100% overlap
Any pits of success your software gives a human it also gives a much dumber agent
Ai has allowed us to spend the time to make our software more perfect (by my definition)
So yeah the question doesn’t make sense to me
1
u/TheVenetianMask 37m ago
When something goes wrong the judge should use a LLM to produce a perfect sentence and you don't get to hire a lawyer, just "trust me bro" and a deadline to pay.
1
u/dragongotz 23m ago
All code if perfect until it is not. "It works on my machine" If you do not understand the code once an issue occurs you will not know where the multiple possible locations where the code that could be causing the issue might be, let alone why it is causing the issue, or the code changes (if any) will solve the issue. AI can defiantly help in finding or fixing the code issue, but might not or 'Fix' the code in a completely appropriate way.
AI is like a junior developer that is to smart for their own good. If you let them do what ever they want, they will rewrite everything, make unnecessary changes, use unauthorized tools, and cause general havoc unless closely monitored.
1
u/pi3832v2 50m ago
Circular logic—if you can't understand it, it's not perfect.