Hacker News new | past | comments | ask | show | jobs | submit login

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.



You 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!?


Any 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.


You 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)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: