4 ms·
Be sure it doesn't generate any GPL licensed code down to the size of a single letter, to be safe. The reaction to GPL inspired snippet generation has been more
by visarga 5y ago
Be sure it doesn't generate any GPL licensed code down to the size of a single letter, to be safe. The reaction to GPL inspired snippet generation has been more fierce than I could have imagined, even though usable snippets are so short.
- z3t4 5y agoYou can't license a code snippet. You can only copyright/license a complete work, as in a complete app or library. Software patterns might work differently though!?
- dec0dedab0de 5y agoAny portion of a work has a copyright the moment there is a tangible copy. There is a uniqueness requirement, but it has nothing to do with length. A unique one liner would have a copyright.
- z3t4 5y agoYou can not take the source code of an app, change a few lines, and then call it your own. You can however make your own app by stealing a few lines of code here and there... funny enough many companies write code so that all functions depend on all other functions making it impossible to reuse any parts of the code in another app (but i think that is not deliberate)