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

請您先登陸,再發跟帖!