Hacker News new | ask | show | jobs
by ainiriand 628 days ago
Related discussion we were having now on Mastodon: https://floss.social/@janriemer/113260186319661283
1 comments

I hadn’t even gone that far in my note above, but that is exactly correct.

We’ll have a resurgence of “edge-cases” and all kinds of security issues.

LLMs are a phenomenal Stackoverflow replacement and better at creating larger samples than just a small snippet. But, at least at the moment, that’s it.

100% on the SO replacement, which is a shame, as I loved and benefited deeply from SO over the years.

I wonder about the proliferation of edge cases. Probably true, but an optimistic outlook, and at least in my own work, LLM’s deliver a failing test faster given new information, and the edge gets covered faster.

Perhaps.

I was referring to the above Mastodon thread, which if I understood correctly (I just scanned, didn't get too deep), was referring to ASCII vs Unicode in generated Rust code. And, I was reminded of issues we've come across over the years regarding assumptions around names, addresses, date/time handling and so on to name a few.

So, my worry is generated code will take the easy way out, create something that will be used, the LLM-user will not even realize the issue since they'll lack deeper experience ... and much later, in production, users will run into the "edge-case" bugs later on. It's a hypothesis at this point, nothing more..