Do you feel explicitly stating any licensing (or lack of) be a good idea for the samples?
Do you feel explicitly stating any licensing (or lack of) be a good idea for the samples?
The code is hosted on GitHub which encourages authors to choose an open source license. I say "encourages" and not "requires" intentionally. See [1] for GitHub's take on it.
As an employee of a commercial software company, I'm willing to take others' advice with regard to best practices, security implications, code efficiency because I can't possibly be an expert in everything. Generally, I'll prefer someone else's solution over my own if it's well designed, documented, and simple. I'd love for the best solutions to each problem to propagate into everyone's code. But I must know the status of my ability to use your code - I must have a license. If there's no license, I simply can't use it. If there's a license, I can at least consider the code, and I can consider whether and how it affects the rest of my company's codebase.
1 - https://help.github.com/articles/open-source-licensing/#what...
As for suggestions, it depends entirely on your motives. The GPL would force users of your code to license their code under GPL also (if distributed to others.) An MIT or BSD license would only require attribution (a copyright notice) in the distribution. Personally? I'd prefer you went MIT or BSD.
+ - I've worked with former employees of companies where this kind of thing happened. I know this is vague and anecdotal, but I'll see what public information I can find just in case someone Really Must Know these cases
And any license text is unlikely to have been vetted by lawyers familiar with the legal system of every foreign jurisdiction where it might be applied, so you probably have the same problem with them (and the more complex the terms are, the more likely that they have some unforeseen problem in an unconsidered jurisdiction.)
People reading the page also will be "not sure", and that is a problem for them, because they need to be sure they can use the code.