|
|
|
|
|
by linsomniac
6 days ago
|
|
I get what you're saying, but I guess where I'm coming from is: I'm more interested in the results of the program than in the source code. You've been around the block, I'm sure you've seen some of the code that runs the Internet and our workstations. There's a lot of atrocious code out there, written by humans, and we address the bugs and move on. I'm treating the AI code the same way. Though, when I do look at the generated code these days, I've got to say it looks pretty good. I don't doubt your experience, but that's what I've seen. |
|
This sounds good until you realize that `function sum(a,b)` made by a human will most probably sum two numbers. The same function created by LLM could very well `rm -rf /` in case a==666. Because of a prompt injection or because LLMs generally have no clue. So code review is required for almost all code even if cursory.
> atrocious code out there, written by humans
Humans have common sense (however broken) and agency (pun intended). So I generally trust humans to not rm -rf / in a function that sums two numbers.