My wife went to a conference recently where she learned about copilot. As someone who produces a lot of open source code, this immediately started me on a rant, talking about how it was reusing people's code in a questionable manner. I also thought writing comments to create code was a gimmick (still do).<p>However, I decided to try out copilot to see what it was doing and what the hell. I'm actually surprised how good it is. I'm use it for python within pycharm, and I'm surprised how often it's referencing patterns in other parts of my codebase. It's also autocompleting tons of patterns that I need for elasticsearch-dsl and some other python libraries.<p>I guess I've seen a lot of hate for copilot but maybe give it a try? I still don't know how to feel about the code reuse, but I'm surprised it works as well as it does.
This sounds like an AD, but i'll still reply<p>The question about Copilot is not how good/bad it works, it is the fact that it trained on everyone's public code without taking into account the license, raising multiple concerns, including privacy ones<p><a href="https://githubcopilotinvestigation.com/" rel="nofollow">https://githubcopilotinvestigation.com/</a><p><a href="https://twitter.com/docsparse/status/1581461734665367554" rel="nofollow">https://twitter.com/docsparse/status/1581461734665367554</a><p><a href="https://sfconservancy.org/GiveUpGitHub/" rel="nofollow">https://sfconservancy.org/GiveUpGitHub/</a><p><a href="https://www.sdxcentral.com/articles/news/github-copilot-raises-ownership-ethical-concerns/2022/07/" rel="nofollow">https://www.sdxcentral.com/articles/news/github-copilot-rais...</a>
I use it for Rails, and the most use I get out of it is with RSpec testing - tests with already descriptive spec names, it guesses correctly like 95% of the time what I was going to write anyway.<p>It's less useful around view code, but controllers/models it can be somewhat useful too. But to be honest, I'm happy to pay the price to let it write some specs for me
Thank you for this, which matches my experience. What many people miss is that the most useful suggestions come from YOUR OWN code, not from anyone else's. They're not copyrighted or lifted from anywhere.
What is the license for the generated code?<p>Are you using copyrighted code without attribution and in violation of the code's license?<p>Copilot is "auto-completion on steroids", but what risks does it introduce?