5 ms·
Would anyone trust the code by machine?
by pm2222 4y ago
Would anyone trust the code by machine?
- decap 4y agoI wouldn't, but I can imagine a world where extensive randomized test suites are created by a specialized model from a text specification written by a human, and another model writes code to pass the tests with the given specification.
- boppo1 4y agoThis still seems like it could leave open some holes. Wouldn't want to run this with financial, aerospace, medical or other critical applications.
- camdenreslink 4y agoSounds like property based testing. Maybe the humans will tell the AI to write code according to some contract or signature. And then the human will also write the tests. But the AI will do the actual implementation.
- maximilianroos 4y agoDo you trust the code by humans?
- khazhoux 4y agoA snark comment that is entirely on point. Well done :-)
- aenis 4y agoWhat gpt-3 creates usually looks 'competent'. Junior human devs usually leave a visible mess in the code, and errors are easy to spot. With the gpt-3 solutions to complex-ish problems, not so much, one needs to read line by line to spot super weird errors that no competent programmer would ever plant. E.g.: I asked it to implement quicksort in x86 asm, but increment every sorted element by 5. It did nearly all of that right, except that it replaced every sorted element with 5. The code looked great otherwise, concise and even commented. I pointed out the mistake and it promptly agreed with me and fixed it. At this point I freked out and asked it to write about Dickens using adjectives that start with the letter 'p'. Which it (mostly) did. Good lord.
- rizky05 4y ago