|
|
|
|
|
by danpalmer
1297 days ago
|
|
I’d be interested to know how many of these were actually correct and usable. My suspicion is not many. I find these tools good at generating boilerplate and superficially correct code, but that they often miss edge cases. Knowing that code is correct is as important as the code itself, and this is why we do code review, write tests, have QA processes, use logging and observability tools, etc. Of course the place that catches the most bugs is the human writing the code, as they write it. This feels like a nice extension to Copilot/etc, but I’m not sure it’s as general as people think. Perhaps an interesting challenge to pose to it is: here’s 10k lines and a stack trace, what’s the bug. Or here’s a database schema, what issues might occur in production using this? |
|
Once I trust the tests, I generally trust the code.