3 ms·
> Example is unexpected data that doesn’t match expectations. Can’t fault the AI for those bugs. I don't understand, how can you not fault AI for generating co
by dns_snek 8mo ago
> Example is unexpected data that doesn’t match expectations. Can’t fault the AI for those bugs.
I don't understand, how can you not fault AI for generating code that can't handle unexpected data gracefully? Expectations should be defined, input validated, and anything that's unexpected should be rejected. Resilience against poorly formatted or otherwise nonsensical input is a pretty basic requirement.
I hope I severely misunderstood what you meant to say because we can't be having serious discussions about how amazing this technology is if we're silently dropping the standards to make it happen.
- aurareturn 8mo agoI don't understand, how can you not fault AI for generating code that can't handle unexpected data gracefully? Because I, the spec writer, didn't think of it. I would have made the same mistake if I wrote the code.
- pegasus 8mo agoIf you'd write the code yourself, you'd be much more likely to remember to handle those cases as well.
- the_harpia_io 8mo ago[flagged]