3 ms·
Quite the opposite. I just asked ChatGPT to translate some code form Python to C++ for me, and it did just that (there were a few minor errors, but fixable).
by credit_guy 4y ago
Quite the opposite.
I just asked ChatGPT to translate some code form Python to C++ for me, and it did just that (there were a few minor errors, but fixable).
I then asked for some advice how to improve some Python code. Initially it just summarized what the code is doing. Funnily enough, I forgot to copy-paste one function, but ChatGPT figured it out and created a version of it (which, I have to admit, was slightly better than mine). It then help me to refactor the code by using dataclasses and type annotations.
If someone claims we are heading for an AI winter, they did not experiment enough with ChatGPT yet.
- jasfi 4y agoIt's coding abilities are hit and miss right now. There are times when it suggests code that just doesn't work, or it makes up a library or a function that doesn't exist. When I point out the non-existent library or function it actually agrees with me, and will then continue to fail, likely because the required knowledge just isn't in there. But these are still early days and LLM-based products will surely get much better.