Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
WithinReason
· 4y ago · 0 comments
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.
Comments
[–]
lgas
4y ago
Have you tried "This ruby code does the same thing as the following python code" in a comment?
[–]
ksaj
4y 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.
[–]
WithinReason
OP
4y ago
I actually did something similar and it worked IIRC. It was python to C or the reverse.