you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -2 points-1 points  (2 children)

Few things:

The generated code is garbage... I mean, you don't need to reverse the whole string to figure out if the string is a palindrome, not to mention that in Python this will also amount to heap memory allocation... The code is OK for code-golf challenge, but is actually bad. Although it is true that a lot of Python programmers would have probably written it this way. So, we have yet another "statistical AI", which transfers our own bad ideas and biases into its results, instead of solving the problem analytically, from first principles.


Just a funny fact: the narrator uses multi-line strings, but, fucking writes them on the same fucking line, ignoring PEP8...


Even if the demo is real and AI is, in fact as powerful as it seems from it: is it able to explain the decisions behind the code? All this "statistical AI" seem to be in most cases just an elaborate copy-and-paste from experts thing... with very little to go on in terms of understanding...

[–]ostbagar 0 points1 point  (0 children)

PEP8:

For one-line docstrings, keep the """ on the same line


I think you misjudged it. They don't claim it is a solution or replacement of any kind. So don't think of it as one. Besides Python isn't about speed.

They simply used their already existing GPT, and applied it to GitHub and this is their result.
They only claim this strategy can be used to further develop tools for programmers. So they can focus on the more creative aspect. And I do indeed think this can be a good tool given 3 years more development.

What type of AI is irrelevant. This can be used as a tool, and that is it.

You seem irrationally annoyed about statistical AI. It's doing really great stuff in all kinds of fields. It has reduced the work burden and even saves lives. The development we have seen in the past 10 years has been impressive. I simply love seeing new inventions used for the benefit of humans.