Hacker News new | ask | show | jobs
by luxurytent 1321 days ago
Does this differ from GitHub's CoPilot in any user-noticeable way? (outside of the platform it's available on)
1 comments

One thing I noticed is it seems to have an "Explain code" feature, giving you a textual explanation of a block of code you select, which I'm not aware of GitHub having.
GitHub Copilot Labs (a VSCode extension meant to be installed with GitHub Copilot) seems to have an explain code feature.

ref: https://github.blog/2022-09-14-8-things-you-didnt-know-you-c...

You can just use the prompt "The above code does the following explained in English" in a comment to prompt CoPilot to explain its code. You could probably also engineer a prompt to translate code between languages.
Have you tried "This ruby code does the same thing as the following python code" in a comment?
I wish I thought of that when I had the co-pilot trial. If that works, I might have had a different opinion of my experience with it.
I actually did something similar and it worked IIRC. It was python to C or the reverse.
TBH the example wasn't convincing at all