3 ms·
I teach Physics and Math. As a student, I enjoyed the freedom to consult textbooks, learn about new computation methods and be able to use them later when neede
by aroberge 7y ago
I teach Physics and Math. As a student, I enjoyed the freedom to consult textbooks, learn about new computation methods and be able to use them later when needed without worrying about potential restrictions. And I want my students to enjoy the same freedom. In my first projects, I used the GPL license but have moved since to almost always using the MIT License or, sometimes and when appropriate, CC-0.
When I find some interesting looking project on github or elsewhere, I am always tempted to look at the code. However, if I notice that the code is licensed under GPL, I refrain to do so as I do not want to have to worry about finding some "cool trick" but not being able to use it later in my own code without fear of violating the license.
I do get why some people swear by the GPL license, and I respect their choice and commitment to what they see as the greater good. However, I see it as a barrier to those that simply desire to learn.
- jbotz 7y agoI think you misunderstand copyright... you can't violate a license (that's based on copyright) by using ideas you saw in the source code. You really have to actually copy, verbatim, a significant chunk of code to be in violation of a software copyright. Sure, what constitutes a significant chunk is somewhat open to interpretation, but nobody who releases their software under the GPL is likely to ask a court for a ridiculously restrictive interpretation! I'm pretty sure Richard Stallman would be horrified by what you're saying here.
- UglyToad 7y agoI'm interested in this. From what I have read unless you do a 'clean room' rewrite, that is a team reads the code and describes the algorithm to another team with no view of the code, your work can be classified as a derivative work? Now there are grey areas for sure, but my problem with the GPL is knowledge should be a commons, not a field day for lawyers and a creator of 'thought crimes'. Maybe I have misunderstood that regarding derivative works but it still seems by enforcing obligations GPL doesn't meet my personal definition of free.
- jbotz 7y agoThis is really only an issue for project where you're trying re-implement a whole piece of software, and not when you pick up some "good ideas" looking at a piece of code. If you're creating a functional clone of some software and suspect that the owners of that software might take legal action against you, then you'll need to make extra sure that no part of your reimplementation resembles the original source code. Hence the whole "clean room" approach. But if you're just looking at some code and get some ideas and use them in a totally different kind of program, you're definitely not violating the spirit of copyright, and as far as I know no court has ever decided that you're violating the letter of copyright in such a case either.
- UglyToad 7y agoAh thanks for clarifying, I guess there's a sort of size cutoff where stuff goes from fair use to a derivative work.
- jbotz 7y agoYou mention "algorithm"... algorithms can't be copyrighted, and although it can be argued that they shouldn't even be patentable (as mathematical equations aren't), in the 1990s courts in the US effectively allowed algorithms to be patented "when part of an implementation". Also in some other countries algorithms were always patentable. But that's patents, we're talking about copyright here. You absolutely can't copyright an algorithm. And "not looking" doesn't protect you from a patent anyway, so go ahead and look at the code unless you want to write a functional clone and claim that it's in no way a derivative work.
- _ph_ 7y agoStrictly speaking, as soon as you looked at the GPL code you are tainted. A developer with a good memory will struggly not to pick up code he read through. After all, if you are looking at others people code, you are looking at the interesting parts - and if you see a cleverly written function - so anything which is longer as a single expression - you are in risk violating the copyrights of the creator. As I am respecting the works of others, I try to keep legally and morally clean and not just "being caught". So, being a professional programmer, I usually avoid looking at GPL code myself.
- icebraining 7y agoSo do you provide attribution to every MIT/BSD project you look at? Otherwise, you're also in risk of violating the copyright of the creator.
- _ph_ 7y agoNot for code I just looked at. But if I find the MIT/BSD code useful enough that I want to have such a functionality in my program, I would just use the code and give attribution as the license requires. In all the cases, where I not intend to include GPL code in my project, I consider it unethical and legally improper to look at it and then write my own version of such a functionality.