Y
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
lgas
1319 days ago
Have you tried "This ruby code does the same thing as the following python code" in a comment?
link
ksaj
1319 days ago
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.
link
WithinReason
1319 days ago
I actually did something similar and it worked IIRC. It was python to C or the reverse.
link