Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
WithinReason
3y ago
0 comments
Share
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.
0 comments
default
newest
oldest
lgas
3y ago
Have you tried "This ruby code does the same thing as the following python code" in a comment?
ksaj
3y 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
3y ago
I actually did something similar and it worked IIRC. It was python to C or the reverse.
j
/
k
navigate · click thread line to collapse