Hacker News new | ask | show | jobs
by WithinReason 1320 days ago
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.
1 comments

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.