3 ms·
> This means that, for most open-source projects, code generated by Github co-pilot is, right now, NOT acceptable in the project. For this scenario, how is usi
by CharlesW 5y ago
> This means that, for most open-source projects, code generated by Github co-pilot is, right now, NOT acceptable in the project.
For this scenario, how is using Co-Pilot generated code different from using code based on sample code, Stack Overflow answers, etc.?
- gwenzek 5y agoA number of company, including Google and probably Microsoft forbid copying code from Stack Overflow because there is no explicit license
- CharlesW 5y agoTIL, thank you!
- rbarrois 5y agoI'd say that it depends on the license; for StackOverflow, it's CC-BY-SA 4.0 [1]. For sample code, that would depend on the license of the original documentation. My point is: when I'm copying code from a source with an explicit license, I know whether I'm allowed to copy it. If I pick code from co-pilot, I have no idea (until tested by law in my jurisdiction) whether said code is public domain, AGPL, proprietary, infringing on some company's copyright. [1] https://stackoverflow.com/legal/terms-of-service#licensing https://stackoverflow.com/legal/terms-of-service#licensing
- CharlesW 5y agoThat makes sense, thank you.