Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
uxp8u61q
on Oct 10, 2023
|
parent
|
context
|
favorite
| on:
GitHub Copilot loses an average of $20 per user pe...
It's also amazing to write documentation or unit tests. Or repetitive editing tasks that are hard to automate (e.g. "invert this if condition").
insanitybit
on Oct 10, 2023
|
next
[–]
> or unit tests
Seriously! I write a documentation comment like:
/// Given: blah /// When: blah /// Then: blah
and Copilot writes the test for me. I can generate a dozen tests like this and it's awesome. I write a lot more tests because of Copilot.
baq
on Oct 10, 2023
|
prev
[–]
It even does an ok job with ‘rewrite this callback heavy code as async/await’ if you tell it which functions to use instead of ones accepting callbacks.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: