TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

GitHub Copilot Is actually Good

5 点作者 caseydm超过 2 年前
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&#x27;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&#x27;m actually surprised how good it is. I&#x27;m use it for python within pycharm, and I&#x27;m surprised how often it&#x27;s referencing patterns in other parts of my codebase. It&#x27;s also autocompleting tons of patterns that I need for elasticsearch-dsl and some other python libraries.<p>I guess I&#x27;ve seen a lot of hate for copilot but maybe give it a try? I still don&#x27;t know how to feel about the code reuse, but I&#x27;m surprised it works as well as it does.

5 条评论

Kukumber超过 2 年前
This sounds like an AD, but i&#x27;ll still reply<p>The question about Copilot is not how good&#x2F;bad it works, it is the fact that it trained on everyone&#x27;s public code without taking into account the license, raising multiple concerns, including privacy ones<p><a href="https:&#x2F;&#x2F;githubcopilotinvestigation.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;githubcopilotinvestigation.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;twitter.com&#x2F;docsparse&#x2F;status&#x2F;1581461734665367554" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;docsparse&#x2F;status&#x2F;1581461734665367554</a><p><a href="https:&#x2F;&#x2F;sfconservancy.org&#x2F;GiveUpGitHub&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sfconservancy.org&#x2F;GiveUpGitHub&#x2F;</a><p><a href="https:&#x2F;&#x2F;www.sdxcentral.com&#x2F;articles&#x2F;news&#x2F;github-copilot-raises-ownership-ethical-concerns&#x2F;2022&#x2F;07&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.sdxcentral.com&#x2F;articles&#x2F;news&#x2F;github-copilot-rais...</a>
评论 #33416117 未加载
acallaghan超过 2 年前
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&#x27;s less useful around view code, but controllers&#x2F;models it can be somewhat useful too. But to be honest, I&#x27;m happy to pay the price to let it write some specs for me
nektro超过 2 年前
It doesn&#x27;t matter if it&#x27;s perfect. It&#x27;s still a Bad thing. The proliferation of AL&#x2F;ML needs to stop.
dtagames超过 2 年前
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&#x27;s. They&#x27;re not copyrighted or lifted from anywhere.
thesuperbigfrog超过 2 年前
What is the license for the generated code?<p>Are you using copyrighted code without attribution and in violation of the code&#x27;s license?<p>Copilot is &quot;auto-completion on steroids&quot;, but what risks does it introduce?