zlacker

[return to "GitHub accused of varying Copilot output to avoid copyright allegations"]
1. taneq+he[view] [source] 2023-06-10 15:23:00
>>belter+(OP)
Isn’t “rewrite the example code in your own style” accepted best practice for human coders, when working from an example that does what you need?

I’m not sure what would be acceptable output for a code generation tool if rewriting the examples isn’t ok and reimplementing something that performs the same function still isn’t ok. Are we automatically granting de-facto code patents on all published code now?

◧◩
2. wabore+Xk[view] [source] 2023-06-10 16:08:41
>>taneq+he
I can't recall a single time that's been common advice given to programmers. It's usually either don't reinvent the wheel (therefore use the source while adhering to license), or come up with your own solution.

Don't know how you would even write code in your own style. As soon as you start altering it, the result is different. It's more/less efficient.

◧◩◪
3. njharm+2o[view] [source] 2023-06-10 16:28:14
>>wabore+Xk
Depending on language there are ton of style choices. There’s style guides as examples of trivial.

Non trivial include names, comments, logging, error checking, structure, ordering of operations that aren’t sequential.

[go to top]