Well, that's already the case with Stack Overflow copypasta enterprise code. If anything, use of Copilot would be an improvement...
Well, that's already the case with Stack Overflow copypasta enterprise code. If anything, use of Copilot would be an improvement...
I feel this is more a meme, rather than reality. I do check StackOverflow, but never have I took an answer verbatim. I try to see if it's the same problem and what was the approach in deconstructing it, which I find more useful in the long run.
I've certainly copied a sort anonymous function from SO, it was one-liner. Is that copy/paste? or is it only copy/paste if it's X lines?
Otherwise I agree, usually I just get hints and go my own way.
All the time.
"One out of every four users who visits a Stack Overflow question copies something within five minutes of hitting the page."
https://stackoverflow.blog/2021/12/30/how-often-do-people-ac...
At least for me, that's most of the copies I do, followed by the ones that basically are 'call these functions in order', then paste it as a comment and use it as cheat sheet, and only very rarely I copy a 'creative' snippet almost verbatim, like a regexp matching email addresses, a to-hex or a crc calculation. And perhaps that's actually tricky.
(Where nobody is a stand-in term, to mean "less than 1% of those do")
If you mean that if you make a "random mashup of existing, copyrighted, hegerogenously licensed" works of art (audio/video), it also applies that you might be sued for it, then yes.
But that's not much of an issue with Copilot if you're using it for enteprise code that's already a mashup of copypaste "existing, copyrighted, hegerogenously licensed" and that you wont release and nobody will see anyway.
Whereas audio/video you generally want to release.
If you make them for your own consumption, then it's my response that rather applies: since nobody will see it, and you don't release/sell/circulate it, you can go ahead and mix Michael Jackson, Disney and Star Wars material - nothing will happen to you.
What do you mean, Copilot regularly pastes stuff directly from SO. One of those automatic doc generators was able to point me to the exact answer where one of them was from.