JordanZ@lemmy.worldtoTechnology@lemmy.world•AI-Generated Code is Causing Outages and Security Issues in BusinessesEnglish
912·
4 days ago
Except it’s a computer writing the code that somebody probably ran once and said ‘looks good’ for their ‘happy path’ and committed it. So it’s inevitably probably full of weird edge case bugs…have fun.
Some of the JavaScript code I’ve seen I’d call ‘clever’ because it uses certain parts of the language that are technically in the spec or are just weird casting side effects that I hope no normal developer would actually use because it’s unreadable. I’m sure ‘somebody’ used it because the AI picked up on it but it’s not exactly something that should be replicated.
Some colleges are letting students use AI code to do their assignments. I’d expect that ‘average quality’ to get so much worse over time and I’m not sure the developers are going to be getting any better right along with it. They can continue to turn in work they probably don’t fully understand to begin with.