Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
WithinReason
3y ago
0 comments
Save
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
3 comments · 1 top-level
top
newest
oldest
lgas
3y ago
· 2 in thread
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