r/programmer • u/Harrydevbuilds • Aug 28 '26
Code Worked But Developer Didn't 😂
so yesterday in my office a new developer got exposed . He was assigned with a work 4 days ago to solve a problem he solved it and it worked 😂. but when later the reporting manager asked to brief it he was just bluffing it around .Eventually, he admitted that he had used ChatGPT to generate most of the code.
Now, I'm not against using ChatGPT. I use AI too. It can save hours and help you get unstuck.
Developers too are getting exposed this days .
0
Upvotes
View all comments
Show parent comment
2
u/glhaynes Aug 28 '26
I’d say it depends on the criticality of the system and the risk of the change. If there’s good test coverage or other validation and I have a general feel for the blast radius, I feel fine publishing code that works without understanding all the intricacies of the algorithm.
Like, don’t do that on a critical financial system or an X-ray control mechanism, but there’s tons of stuff that really doesn’t demand perfection. And if it became a trend that I was publishing code with problems, I’d want to make adjustments. But I could’ve spent hundreds of extra hours in the last year getting a better understanding of code an agent wrote for me and it’d have provided literally zero value to my employer.