There are different views

回答: +1ich2016-06-08 22:37:33

http://meta.stackexchange.com/questions/271080/the-mit-license-clarity-on-using-code-on-stack-overflow-and-stack-exchange

 

I think that the change is in general a good idea. I'm not a lawyer, and I assume most people that use Stack Overflow and other SE sites about programming aren't either. Licensing can get very complicated quickly, and removing ambiguity and fuzziness is a good idea. The Creative Commons licenses weren't meant for code, and that leaves some issues with how to follow them when reusing code from any Stack Exchange site.

But I don't think this change goes far enough, there is still enough potential confusion left when copying code, or especially when you're not copying directly, but also rewriting it. This confusion might be mostly caused by my lack of knowledge in this area, but I guess most programmers aren't experts in copyright law either.

In my completely irrelevant and non-lawyer opinion, a very large part of the code on Stack Overflow doesn't meet the threshold of originality required to be copyrighted. A lot of snippets are short examples on how to use a particular library function or language feature. There aren't many different ways to use the same API, so I don't think it makes sense that this could be subject to copyright. This is pretty much based on my opinion on how the law should work, not how it actually works, so I might be entirely wrong about the actual legal issue.

If I would copy and paste a reasonably large piece of code directly, the rules are pretty clear, I have to attribute it. But what if I just copy it, and then play around with the code until I understand it? It might look pretty different afterwards, it arguably is a derived work and I should attribute it. What if the code is simply a short example showing how to use a particular function, do I really have to attribute that? But what if I read the code, look up the documentation of the involved feature, and then use that knowledge to write something that looks pretty similar, but I don't attribute because I didn't actually copy it? There's probably a good reason why people do clean-room implementations of copyrighted code, but once I've seen an answer on SO I can't unsee it.

所有跟帖: 

你不尽职,因为你给公司带来的未知变数 -柠檬椰子汁- 给 柠檬椰子汁 发送悄悄话 (1053 bytes) () 06/09/2016 postreply 06:13:02

我没有看过他的code交流,这就像我们写作文一样,抄到什么地步, -慧惠- 给 慧惠 发送悄悄话 慧惠 的博客首页 (335 bytes) () 06/09/2016 postreply 07:31:46

不错,但是他的做法增加的是不确定性 -柠檬椰子汁- 给 柠檬椰子汁 发送悄悄话 (356 bytes) () 06/09/2016 postreply 07:55:07

定义 -Loves- 给 Loves 发送悄悄话 (102 bytes) () 06/09/2016 postreply 09:51:14

每一个字都是版权 -柠檬椰子汁- 给 柠檬椰子汁 发送悄悄话 (3671 bytes) () 06/09/2016 postreply 10:01:01

那如果每个字都是版权的话 -Loves- 给 Loves 发送悄悄话 (41 bytes) () 06/09/2016 postreply 10:16:34

Code里的逻辑关系可以做版权索取的依据,改变量名没用。让你删挺合理。你老板还可以用你问问题的帖子,作为你不能胜任工作的依据开除 -燕京十景- 给 燕京十景 发送悄悄话 (0 bytes) () 06/09/2016 postreply 21:30:33

那问code的人很多,是不是都不能胜任工作呢?都要被开除呢? -Loves- 给 Loves 发送悄悄话 (369 bytes) () 06/10/2016 postreply 10:26:39

你是在装糊涂? 公司计算机上网都有记录的。一看你老是去那个网站,找个老员工一看就知道你干嘛了。 -jin_yin_hua- 给 jin_yin_hua 发送悄悄话 (207 bytes) () 06/10/2016 postreply 10:41:32

好好好!看样子你也不是程序员,我也不争了 -Loves- 给 Loves 发送悄悄话 (146 bytes) () 06/10/2016 postreply 10:54:52

你的工作咋需要频繁地去网站问问题?提高技术回家去提高,要学习可以去上课。 上班就干工作有关的事。 -jin_yin_hua- 给 jin_yin_hua 发送悄悄话 (0 bytes) () 06/10/2016 postreply 11:56:57

你可以问你老板原因,理由合理你就 -山地- 给 山地 发送悄悄话 山地 的博客首页 (0 bytes) () 06/10/2016 postreply 20:35:43

你问老板,他的定义是什么。这种问题不是挑战老板,而是真的不清楚 -慧惠- 给 慧惠 发送悄悄话 慧惠 的博客首页 (179 bytes) () 06/09/2016 postreply 12:19:34

请您先登陆,再发跟帖!