You can hardly get online these days without hearing some AI booster talk about how AI coding is going to replace human programmers. AI code is absolutely up to production quality! Also, you’re all…
No. If it’s a copy, then it falls under copyright regardless of how the copy is made. The question wasn’t about copying, though.
Be aware that copyright only covers the creative elements; ie things that other people would do differently. It also doesn’t cover ideas, methods, and the like. It also doesn’t cover very short or obvious creations. So, copyright on code comes from UI design, comments, names, even the ordering of lines, functions, splitting the code into files, using shorthand or not, and so on. Snippets and even short functions are typically not copyrightable. If you have some short program that anyone would write that way, then that’s not copyrightable, beyond comments and maybe names.
None. There is a good chance that leaked MS code found its way into training data, anyway.
I am not sure how you arrived at “none” from your second sentence. The second sentence is exactly my point.
Alternatively then, can I just use the Microsoft source code and claim that I got it from AI? That seems to be your point here.
No. If it’s a copy, then it falls under copyright regardless of how the copy is made. The question wasn’t about copying, though.
Be aware that copyright only covers the creative elements; ie things that other people would do differently. It also doesn’t cover ideas, methods, and the like. It also doesn’t cover very short or obvious creations. So, copyright on code comes from UI design, comments, names, even the ordering of lines, functions, splitting the code into files, using shorthand or not, and so on. Snippets and even short functions are typically not copyrightable. If you have some short program that anyone would write that way, then that’s not copyrightable, beyond comments and maybe names.