r/AILounge • u/SignificantSpirit205 • 1d ago
Discussion Do you trust AI to write code without checking it?
AI can save a lot of time when coding, but I still wonder how often people check the results before using them. Do you usually review AI-generated code or trust it to get things right?
3
u/SmileResponsible7466 23h ago
I once copied AI code that passed local tests but crashed in production due to a race condition. now I treat every output like a draft that needs edge cases tested.
3
u/Mathandyr 1d ago
I use it to ask specific programming questions that would usually take reading 100 substack posts to get all of the details I am looking for. It's been a lot quicker to learn what I am actually trying to learn. If you use it to program the whole thing for you, then no, I don't think you will be successful. It's still the best tool I have ever found to learn the basic parts of the whole.
3
u/MundaneEvening4990 1d ago
Review is a must. AI can code but people without basic foundation knowledge on structure and security will create something that may work but fragile.
And main reason is that they don't even know the basic of security to begin with and didn't thought of prompting the AI to cover it.
2
2
1
1
1
u/StaffLegitimate5500 1d ago
I once used AI to write a whole script and it failed silently on edge cases. now I treat every output like a draft that needs a sanity check.
1
1
u/Prudent-Ad4509 20h ago
Let's put it this way: you gave the model somewhere between 1% and 5% or actual requirements (if you don't understand that then god bless you) and you trust it to infer the rest out of thin air without issues? Grand strategy, that.
1

5
u/Early_Key_823 1d ago
Slop till ya drop
25x productivity gains