News for hackers. Stuff that matters.
Re:TLDR explains what a piece of code does by curl-up on Thursday September 22, 2022 @06:33PM (#32945489)
Check out the SQL example I posted below. If you're interested, I'd be happy to post more. To me, this is not about "is the machine accurate enough already". Maybe it isn't and it needs to mature. But the door has been opened now, and it's only up to "technical details" now.

And I'm not saying this can replace developers, as it clearly isn't capable of building complete codebases and reasoning about the system as a whole. But writing self-contained code snippets seems like a solved problem to me, and I think that's the biggest thing that happened in our field since a long time ago.

Re:TLDR explains what a piece of code does by lupire on Thursday September 22, 2022 @10:36PM (#32947343)
Code generators are old. Matching code to text is clever.

Generating correct code would be useful.

Re:TLDR explains what a piece of code does by curl-up on Friday September 23, 2022 @03:50AM (#32949126)
Please point me to an "old" model that was able to do something similar to my example, and was general enough to do that not only for any custom schema, but for basically all often used languages as well (both natural languages as input, and programming languages as output).
Re:TLDR explains what a piece of code does by visarga on Friday September 23, 2022 @12:58AM (#32948228)
It's possible to start with tests and then generate the code, using tests to ensure it is correct. Humans iterate many times on a piece of code - write, execute, compare with your desired output, AI should work step by step with executions and feedback too.